Skip to content

Commit f78099e

Browse files
Fix imports, remove attrs for unused_*
1 parent 28164e3 commit f78099e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

compiler/rustc_builtin_macros/src/contracts.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
#![allow(unused_imports, unused_variables)]
2-
31
use rustc_ast::token;
42
use rustc_ast::tokenstream::{DelimSpacing, DelimSpan, Spacing, TokenStream, TokenTree};
53
use rustc_errors::ErrorGuaranteed;
64
use rustc_expand::base::{AttrProcMacro, ExtCtxt};
7-
use rustc_span::symbol::{Ident, Symbol, kw, sym};
8-
use rustc_span::{DesugaringKind, Span};
5+
use rustc_span::Span;
6+
use rustc_span::symbol::{Ident, Symbol, kw};
97

108
pub(crate) struct ExpandRequires;
119

0 commit comments

Comments
 (0)