1 error[E0425]: cannot find value `NonExistent` in this scope
2 --> $DIR/ambiguous-builtin-attrs.rs:34:5
5 | ^^^^^^^^^^^ not found in this scope
7 error[E0659]: `repr` is ambiguous
8 --> $DIR/ambiguous-builtin-attrs.rs:9:3
13 = note: ambiguous because of a name conflict with a builtin attribute
14 = note: `repr` could refer to a built-in attribute
15 note: `repr` could also refer to the attribute macro imported here
16 --> $DIR/ambiguous-builtin-attrs.rs:6:5
18 LL | use builtin_attrs::*;
20 = help: use `crate::repr` to refer to this attribute macro unambiguously
22 error[E0659]: `repr` is ambiguous
23 --> $DIR/ambiguous-builtin-attrs.rs:11:19
25 LL | #[cfg_attr(all(), repr(C))]
28 = note: ambiguous because of a name conflict with a builtin attribute
29 = note: `repr` could refer to a built-in attribute
30 note: `repr` could also refer to the attribute macro imported here
31 --> $DIR/ambiguous-builtin-attrs.rs:6:5
33 LL | use builtin_attrs::*;
35 = help: use `crate::repr` to refer to this attribute macro unambiguously
37 error[E0659]: `repr` is ambiguous
38 --> $DIR/ambiguous-builtin-attrs.rs:20:34
40 LL | fn non_macro_expanded_location<#[repr(C)] T>() {
43 = note: ambiguous because of a name conflict with a builtin attribute
44 = note: `repr` could refer to a built-in attribute
45 note: `repr` could also refer to the attribute macro imported here
46 --> $DIR/ambiguous-builtin-attrs.rs:6:5
48 LL | use builtin_attrs::*;
50 = help: use `crate::repr` to refer to this attribute macro unambiguously
52 error[E0659]: `repr` is ambiguous
53 --> $DIR/ambiguous-builtin-attrs.rs:24:11
58 = note: ambiguous because of a name conflict with a builtin attribute
59 = note: `repr` could refer to a built-in attribute
60 note: `repr` could also refer to the attribute macro imported here
61 --> $DIR/ambiguous-builtin-attrs.rs:6:5
63 LL | use builtin_attrs::*;
65 = help: use `crate::repr` to refer to this attribute macro unambiguously
67 error[E0659]: `allow` is ambiguous
68 --> $DIR/ambiguous-builtin-attrs.rs:38:3
71 | ^^^^^ ambiguous name
73 = note: ambiguous because of a name conflict with a builtin attribute
74 = note: `allow` could refer to a built-in attribute
75 note: `allow` could also refer to the built-in attribute imported here
76 --> $DIR/ambiguous-builtin-attrs.rs:37:5
78 LL | use deny as allow;
80 = help: use `crate::allow` to refer to this built-in attribute unambiguously
82 error[E0659]: `feature` is ambiguous
83 --> $DIR/ambiguous-builtin-attrs.rs:3:4
85 LL | #![feature(decl_macro)]
86 | ^^^^^^^ ambiguous name
88 = note: ambiguous because of a name conflict with a builtin attribute
89 = note: `feature` could refer to a built-in attribute
90 note: `feature` could also refer to the attribute macro imported here
91 --> $DIR/ambiguous-builtin-attrs.rs:6:5
93 LL | use builtin_attrs::*;
95 = help: use `crate::feature` to refer to this attribute macro unambiguously
97 error[E0517]: attribute should be applied to a struct, enum, or union
98 --> $DIR/ambiguous-builtin-attrs.rs:20:39
100 LL | fn non_macro_expanded_location<#[repr(C)] T>() {
101 | ^ - not a struct, enum, or union
103 error[E0517]: attribute should be applied to a struct, enum, or union
104 --> $DIR/ambiguous-builtin-attrs.rs:24:16
110 | ------- not a struct, enum, or union
112 error: aborting due to 9 previous errors
114 Some errors have detailed explanations: E0425, E0517, E0659.
115 For more information about an error, try `rustc --explain E0425`.