mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
chore: cleanup unused imports
This commit is contained in:
parent
97c3e48834
commit
7b8303d479
@ -1,16 +1,14 @@
|
||||
use rustc_ast::token::{BinOpToken, DelimToken, Token, TokenKind};
|
||||
use rustc_ast::tokenstream::{Cursor, Spacing, TokenStream, TokenTree};
|
||||
use rustc_ast::token::{DelimToken, TokenKind};
|
||||
use rustc_ast::tokenstream::TokenStream;
|
||||
use rustc_ast::{ast, ptr};
|
||||
use rustc_parse::parser::{ForceCollect, Parser};
|
||||
use rustc_parse::{stream_to_parser, MACRO_ARGUMENTS};
|
||||
use rustc_session::parse::ParseSess;
|
||||
use rustc_span::{
|
||||
symbol::{self, kw},
|
||||
BytePos, Span, Symbol, DUMMY_SP,
|
||||
};
|
||||
use rustc_span::symbol::{self, kw};
|
||||
use rustc_span::Symbol;
|
||||
|
||||
use crate::macros::MacroArg;
|
||||
use crate::rewrite::{Rewrite, RewriteContext};
|
||||
use crate::rewrite::RewriteContext;
|
||||
|
||||
pub(crate) mod cfg_if;
|
||||
pub(crate) mod lazy_static;
|
||||
|
@ -1,14 +1,11 @@
|
||||
use std::panic::{catch_unwind, AssertUnwindSafe};
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
use rustc_ast::token::{DelimToken, TokenKind};
|
||||
use rustc_ast::token::TokenKind;
|
||||
use rustc_ast::{ast, ptr};
|
||||
use rustc_errors::Diagnostic;
|
||||
use rustc_parse::{
|
||||
new_parser_from_file,
|
||||
parser::{ForceCollect, Parser as RawParser},
|
||||
};
|
||||
use rustc_span::{sym, symbol::kw, Span};
|
||||
use rustc_parse::{new_parser_from_file, parser::Parser as RawParser};
|
||||
use rustc_span::{sym, Span};
|
||||
|
||||
use crate::attr::first_attr_value_str_by_name;
|
||||
use crate::parse::session::ParseSess;
|
||||
|
Loading…
Reference in New Issue
Block a user