diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-05-20 09:20:27 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-05-20 09:20:27 +1000 |
| commit | 354b1cbcca13dc85bd0a57f8c2b254831394b6fb (patch) | |
| tree | ceaf04d58728d0c3507d0135baab5fa2d14e715f /compiler/rustc_attr_parsing/src/parser.rs | |
| parent | 1525f548bc376b04692b97a84898900e8f27fdd0 (diff) | |
| download | rust-354b1cbcca13dc85bd0a57f8c2b254831394b6fb.tar.gz rust-354b1cbcca13dc85bd0a57f8c2b254831394b6fb.zip | |
Avoid `rustc_span::` qualifiers.
In several files they are entirely unnecessary, with the relevant names already imported. And in a few I have added the necessary `use` item.
Diffstat (limited to 'compiler/rustc_attr_parsing/src/parser.rs')
| -rw-r--r-- | compiler/rustc_attr_parsing/src/parser.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_attr_parsing/src/parser.rs b/compiler/rustc_attr_parsing/src/parser.rs index 077d953cfa3..f433d3574e1 100644 --- a/compiler/rustc_attr_parsing/src/parser.rs +++ b/compiler/rustc_attr_parsing/src/parser.rs @@ -12,8 +12,7 @@ use rustc_ast::{AttrArgs, DelimArgs, Expr, ExprKind, LitKind, MetaItemLit, Norma use rustc_ast_pretty::pprust; use rustc_errors::DiagCtxtHandle; use rustc_hir::{self as hir, AttrPath}; -use rustc_span::symbol::{Ident, kw, sym}; -use rustc_span::{ErrorGuaranteed, Span, Symbol}; +use rustc_span::{ErrorGuaranteed, Ident, Span, Symbol, kw, sym}; pub struct SegmentIterator<'a> { offset: usize, |
