about summary refs log tree commit diff
path: root/compiler/rustc_attr_parsing/src/parser.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-05-20 09:20:27 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-05-20 09:20:27 +1000
commit354b1cbcca13dc85bd0a57f8c2b254831394b6fb (patch)
treeceaf04d58728d0c3507d0135baab5fa2d14e715f /compiler/rustc_attr_parsing/src/parser.rs
parent1525f548bc376b04692b97a84898900e8f27fdd0 (diff)
downloadrust-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.rs3
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,