4 #[doc(test(no_crate_inject))]
5 //~^ ERROR can only be applied at the crate level
6 //~| WARN is being phased out
7 //~| HELP to apply to the crate, use an inner attribute
8 //~| SUGGESTION #![doc(test(no_crate_inject))]
10 //~^ ERROR can only be applied to a `use` item
11 //~| WARN is being phased out
15 #![doc(test(no_crate_inject))]
16 //~^ ERROR can only be applied at the crate level
17 //~| WARN is being phased out
19 #[doc(test(no_crate_inject))]
20 //~^ ERROR can only be applied at the crate level
21 //~| WARN is being phased out
23 //~^ ERROR can only be applied to a `use` item
24 //~| WARN is being phased out
30 //~^^ ERROR conflicting doc inlining attributes
31 //~| HELP remove one of the conflicting attributes