fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0425]: cannot find value `NonExistent` in this scope 2 --> $DIR/ambiguous-builtin-attrs.rs:30:5 3 | 4LL | NonExistent; 5 | ^^^^^^^^^^^ not found in this scope 6 7error[E0659]: `repr` is ambiguous (built-in attribute vs any other name) 8 --> $DIR/ambiguous-builtin-attrs.rs:9:3 9 | 10LL | #[repr(C)] 11 | ^^^^ ambiguous name 12 | 13 = note: `repr` could refer to a built-in attribute 14note: `repr` could also refer to the attribute macro imported here 15 --> $DIR/ambiguous-builtin-attrs.rs:7:5 16 | 17LL | use builtin_attrs::*; 18 | ^^^^^^^^^^^^^^^^ 19 = help: use `crate::repr` to refer to this attribute macro unambiguously 20 21error[E0659]: `repr` is ambiguous (built-in attribute vs any other name) 22 --> $DIR/ambiguous-builtin-attrs.rs:11:19 23 | 24LL | #[cfg_attr(all(), repr(C))] 25 | ^^^^ ambiguous name 26 | 27 = note: `repr` could refer to a built-in attribute 28note: `repr` could also refer to the attribute macro imported here 29 --> $DIR/ambiguous-builtin-attrs.rs:7:5 30 | 31LL | use builtin_attrs::*; 32 | ^^^^^^^^^^^^^^^^ 33 = help: use `crate::repr` to refer to this attribute macro unambiguously 34 35error[E0659]: `repr` is ambiguous (built-in attribute vs any other name) 36 --> $DIR/ambiguous-builtin-attrs.rs:20:34 37 | 38LL | fn non_macro_expanded_location<#[repr(C)] T>() { 39 | ^^^^ ambiguous name 40 | 41 = note: `repr` could refer to a built-in attribute 42note: `repr` could also refer to the attribute macro imported here 43 --> $DIR/ambiguous-builtin-attrs.rs:7:5 44 | 45LL | use builtin_attrs::*; 46 | ^^^^^^^^^^^^^^^^ 47 = help: use `crate::repr` to refer to this attribute macro unambiguously 48 49error[E0659]: `repr` is ambiguous (built-in attribute vs any other name) 50 --> $DIR/ambiguous-builtin-attrs.rs:22:11 51 | 52LL | #[repr(C)] 53 | ^^^^ ambiguous name 54 | 55 = note: `repr` could refer to a built-in attribute 56note: `repr` could also refer to the attribute macro imported here 57 --> $DIR/ambiguous-builtin-attrs.rs:7:5 58 | 59LL | use builtin_attrs::*; 60 | ^^^^^^^^^^^^^^^^ 61 = help: use `crate::repr` to refer to this attribute macro unambiguously 62 63error[E0659]: `feature` is ambiguous (built-in attribute vs any other name) 64 --> $DIR/ambiguous-builtin-attrs.rs:3:4 65 | 66LL | #![feature(decl_macro)] 67 | ^^^^^^^ ambiguous name 68 | 69 = note: `feature` could refer to a built-in attribute 70note: `feature` could also refer to the attribute macro imported here 71 --> $DIR/ambiguous-builtin-attrs.rs:7:5 72 | 73LL | use builtin_attrs::*; 74 | ^^^^^^^^^^^^^^^^ 75 = help: use `crate::feature` to refer to this attribute macro unambiguously 76 77error: aborting due to 6 previous errors 78 79Some errors have detailed explanations: E0425, E0659. 80For more information about an error, try `rustc --explain E0425`.