1 error[E0425]: cannot find value `NonExistent` in this scope
2 --> $DIR/ambiguous-builtin-attrs.rs:32:5
5 | ^^^^^^^^^^^ not found in this scope
7 error[E0659]: `repr` is ambiguous (built-in attribute vs any other name)
8 --> $DIR/ambiguous-builtin-attrs.rs:9:3
13 = note: `repr` could refer to a built-in attribute
14 note: `repr` could also refer to the attribute macro imported here
15 --> $DIR/ambiguous-builtin-attrs.rs:7:5
17 LL | use builtin_attrs::*;
19 = help: use `crate::repr` to refer to this attribute macro unambiguously
21 error[E0659]: `repr` is ambiguous (built-in attribute vs any other name)
22 --> $DIR/ambiguous-builtin-attrs.rs:11:19
24 LL | #[cfg_attr(all(), repr(C))]
27 = note: `repr` could refer to a built-in attribute
28 note: `repr` could also refer to the attribute macro imported here
29 --> $DIR/ambiguous-builtin-attrs.rs:7:5
31 LL | use builtin_attrs::*;
33 = help: use `crate::repr` to refer to this attribute macro unambiguously
35 error[E0659]: `repr` is ambiguous (built-in attribute vs any other name)
36 --> $DIR/ambiguous-builtin-attrs.rs:20:34
38 LL | fn non_macro_expanded_location<#[repr(C)] T>() {
41 = note: `repr` could refer to a built-in attribute
42 note: `repr` could also refer to the attribute macro imported here
43 --> $DIR/ambiguous-builtin-attrs.rs:7:5
45 LL | use builtin_attrs::*;
47 = help: use `crate::repr` to refer to this attribute macro unambiguously
49 error[E0659]: `repr` is ambiguous (built-in attribute vs any other name)
50 --> $DIR/ambiguous-builtin-attrs.rs:24:11
55 = note: `repr` could refer to a built-in attribute
56 note: `repr` could also refer to the attribute macro imported here
57 --> $DIR/ambiguous-builtin-attrs.rs:7:5
59 LL | use builtin_attrs::*;
61 = help: use `crate::repr` to refer to this attribute macro unambiguously
63 error[E0659]: `feature` is ambiguous (built-in attribute vs any other name)
64 --> $DIR/ambiguous-builtin-attrs.rs:3:4
66 LL | #![feature(decl_macro)]
67 | ^^^^^^^ ambiguous name
69 = note: `feature` could refer to a built-in attribute
70 note: `feature` could also refer to the attribute macro imported here
71 --> $DIR/ambiguous-builtin-attrs.rs:7:5
73 LL | use builtin_attrs::*;
75 = help: use `crate::feature` to refer to this attribute macro unambiguously
77 error[E0517]: attribute should be applied to a struct, enum, or union
78 --> $DIR/ambiguous-builtin-attrs.rs:20:39
80 LL | fn non_macro_expanded_location<#[repr(C)] T>() {
81 | ^ - not a struct, enum, or union
83 error: aborting due to 7 previous errors
85 Some errors have detailed explanations: E0425, E0517, E0659.
86 For more information about an error, try `rustc --explain E0425`.