Skip to content

Commit 6befafc

Browse files
committed
add change, and testcase
1 parent 9255320 commit 6befafc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/items.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
use std::borrow::Cow;
44
use std::cmp::{Ordering, max, min};
5-
use std::backtrace::Backtrace;
65

76
use regex::Regex;
87
use rustc_ast::visit;
@@ -1931,10 +1930,6 @@ impl Rewrite for ast::FieldDef {
19311930
}
19321931
}
19331932

1934-
use std::sync::atomic::{AtomicUsize};
1935-
1936-
static CALL_COUNT: AtomicUsize = AtomicUsize::new(0);
1937-
19381933
pub(crate) fn rewrite_struct_field(
19391934
context: &RewriteContext<'_>,
19401935
field: &ast::FieldDef,

0 commit comments

Comments
 (0)