diff options
| author | Jana Dönszelmann <jana@donsz.nl> | 2025-08-16 18:04:58 +0200 |
|---|---|---|
| committer | Jana Dönszelmann <jana@donsz.nl> | 2025-08-21 13:15:30 +0200 |
| commit | 9da854115fd4760b5e250d97a3a872d08e222426 (patch) | |
| tree | 7f6d4afa209fa8eb3077bee06b6aedef05b7a356 /compiler/rustc_attr_parsing/src/attributes/test_attrs.rs | |
| parent | 2158e2d4d7b2722325de01530296c4e93297c06f (diff) | |
| download | rust-9da854115fd4760b5e250d97a3a872d08e222426.tar.gz rust-9da854115fd4760b5e250d97a3a872d08e222426.zip | |
Introduce a prelude for very common imports across dozens of files
Diffstat (limited to 'compiler/rustc_attr_parsing/src/attributes/test_attrs.rs')
| -rw-r--r-- | compiler/rustc_attr_parsing/src/attributes/test_attrs.rs | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/compiler/rustc_attr_parsing/src/attributes/test_attrs.rs b/compiler/rustc_attr_parsing/src/attributes/test_attrs.rs index 1ac4959f5fc..2b01c09ab96 100644 --- a/compiler/rustc_attr_parsing/src/attributes/test_attrs.rs +++ b/compiler/rustc_attr_parsing/src/attributes/test_attrs.rs @@ -1,14 +1,4 @@ -use rustc_feature::{AttributeTemplate, template}; -use rustc_hir::Target; -use rustc_hir::attrs::AttributeKind; -use rustc_hir::lints::AttributeLintKind; -use rustc_span::{Symbol, sym}; - -use crate::attributes::{AttributeOrder, OnDuplicate, SingleAttributeParser}; -use crate::context::{AcceptContext, Stage}; -use crate::parser::ArgParser; -use crate::target_checking::AllowedTargets; -use crate::target_checking::Policy::{Allow, Error}; +use super::prelude::*; pub(crate) struct IgnoreParser; |
