fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0425]: cannot find value `NonExistent` in this scope 2 --> $DIR/ambiguous-builtin-attrs.rs:34:5 3 | 4LL | NonExistent; 5 | ^^^^^^^^^^^ not found in this scope 6 7error[E0659]: `repr` is ambiguous 8 --> $DIR/ambiguous-builtin-attrs.rs:9:3 9 | 10LL | #[repr(C)] 11 | ^^^^ ambiguous name 12 | 13 = note: ambiguous because of a name conflict with a builtin attribute 14 = note: `repr` could refer to a built-in attribute 15note: `repr` could also refer to the attribute macro imported here 16 --> $DIR/ambiguous-builtin-attrs.rs:6:5 17 | 18LL | use builtin_attrs::*; 19 | ^^^^^^^^^^^^^^^^ 20 = help: use `crate::repr` to refer to this attribute macro unambiguously 21 22error[E0659]: `repr` is ambiguous 23 --> $DIR/ambiguous-builtin-attrs.rs:11:19 24 | 25LL | #[cfg_attr(all(), repr(C))] 26 | ^^^^ ambiguous name 27 | 28 = note: ambiguous because of a name conflict with a builtin attribute 29 = note: `repr` could refer to a built-in attribute 30note: `repr` could also refer to the attribute macro imported here 31 --> $DIR/ambiguous-builtin-attrs.rs:6:5 32 | 33LL | use builtin_attrs::*; 34 | ^^^^^^^^^^^^^^^^ 35 = help: use `crate::repr` to refer to this attribute macro unambiguously 36 37error[E0659]: `repr` is ambiguous 38 --> $DIR/ambiguous-builtin-attrs.rs:20:34 39 | 40LL | fn non_macro_expanded_location<#[repr(C)] T>() { 41 | ^^^^ ambiguous name 42 | 43 = note: ambiguous because of a name conflict with a builtin attribute 44 = note: `repr` could refer to a built-in attribute 45note: `repr` could also refer to the attribute macro imported here 46 --> $DIR/ambiguous-builtin-attrs.rs:6:5 47 | 48LL | use builtin_attrs::*; 49 | ^^^^^^^^^^^^^^^^ 50 = help: use `crate::repr` to refer to this attribute macro unambiguously 51 52error[E0659]: `repr` is ambiguous 53 --> $DIR/ambiguous-builtin-attrs.rs:24:11 54 | 55LL | #[repr(C)] 56 | ^^^^ ambiguous name 57 | 58 = note: ambiguous because of a name conflict with a builtin attribute 59 = note: `repr` could refer to a built-in attribute 60note: `repr` could also refer to the attribute macro imported here 61 --> $DIR/ambiguous-builtin-attrs.rs:6:5 62 | 63LL | use builtin_attrs::*; 64 | ^^^^^^^^^^^^^^^^ 65 = help: use `crate::repr` to refer to this attribute macro unambiguously 66 67error[E0659]: `allow` is ambiguous 68 --> $DIR/ambiguous-builtin-attrs.rs:38:3 69 | 70LL | #[allow(unused)] 71 | ^^^^^ ambiguous name 72 | 73 = note: ambiguous because of a name conflict with a builtin attribute 74 = note: `allow` could refer to a built-in attribute 75note: `allow` could also refer to the built-in attribute imported here 76 --> $DIR/ambiguous-builtin-attrs.rs:37:5 77 | 78LL | use deny as allow; 79 | ^^^^^^^^^^^^^ 80 = help: use `crate::allow` to refer to this built-in attribute unambiguously 81 82error[E0659]: `feature` is ambiguous 83 --> $DIR/ambiguous-builtin-attrs.rs:3:4 84 | 85LL | #![feature(decl_macro)] 86 | ^^^^^^^ ambiguous name 87 | 88 = note: ambiguous because of a name conflict with a builtin attribute 89 = note: `feature` could refer to a built-in attribute 90note: `feature` could also refer to the attribute macro imported here 91 --> $DIR/ambiguous-builtin-attrs.rs:6:5 92 | 93LL | use builtin_attrs::*; 94 | ^^^^^^^^^^^^^^^^ 95 = help: use `crate::feature` to refer to this attribute macro unambiguously 96 97error[E0517]: attribute should be applied to a struct, enum, or union 98 --> $DIR/ambiguous-builtin-attrs.rs:20:39 99 | 100LL | fn non_macro_expanded_location<#[repr(C)] T>() { 101 | ^ - not a struct, enum, or union 102 103error[E0517]: attribute should be applied to a struct, enum, or union 104 --> $DIR/ambiguous-builtin-attrs.rs:24:16 105 | 106LL | #[repr(C)] 107 | ^ 108... 109LL | _ => {} 110 | ------- not a struct, enum, or union 111 112error: aborting due to 9 previous errors 113 114Some errors have detailed explanations: E0425, E0517, E0659. 115For more information about an error, try `rustc --explain E0425`.