|
| 1 | +error[E0659]: `repr` is ambiguous |
| 2 | + --> $DIR/ambiguous-builtin-attrs.rs:5:3 |
| 3 | + | |
| 4 | +LL | #[repr(C)] //~ ERROR `repr` is ambiguous |
| 5 | + | ^^^^ |
| 6 | + | |
| 7 | +note: `repr` could refer to the name defined here |
| 8 | + --> $DIR/ambiguous-builtin-attrs.rs:3:1 |
| 9 | + | |
| 10 | +LL | macro repr() {} |
| 11 | + | ^^^^^^^^^^^^^^^ |
| 12 | +note: `repr` could also refer to the name defined here |
| 13 | + --> $DIR/ambiguous-builtin-attrs.rs:5:3 |
| 14 | + | |
| 15 | +LL | #[repr(C)] //~ ERROR `repr` is ambiguous |
| 16 | + | ^^^^ |
| 17 | + |
| 18 | +error[E0659]: `repr` is ambiguous |
| 19 | + --> $DIR/ambiguous-builtin-attrs.rs:7:19 |
| 20 | + | |
| 21 | +LL | #[cfg_attr(all(), repr(C))] //~ ERROR `repr` is ambiguous |
| 22 | + | ^^^^ |
| 23 | + | |
| 24 | +note: `repr` could refer to the name defined here |
| 25 | + --> $DIR/ambiguous-builtin-attrs.rs:3:1 |
| 26 | + | |
| 27 | +LL | macro repr() {} |
| 28 | + | ^^^^^^^^^^^^^^^ |
| 29 | +note: `repr` could also refer to the name defined here |
| 30 | + --> $DIR/ambiguous-builtin-attrs.rs:7:19 |
| 31 | + | |
| 32 | +LL | #[cfg_attr(all(), repr(C))] //~ ERROR `repr` is ambiguous |
| 33 | + | ^^^^ |
| 34 | + |
| 35 | +error[E0659]: `cfg` is ambiguous |
| 36 | + --> $DIR/ambiguous-builtin-attrs.rs:12:3 |
| 37 | + | |
| 38 | +LL | #[cfg(all())] //~ ERROR `cfg` is ambiguous |
| 39 | + | ^^^ |
| 40 | + | |
| 41 | +note: `cfg` could refer to the name defined here |
| 42 | + --> $DIR/ambiguous-builtin-attrs.rs:10:1 |
| 43 | + | |
| 44 | +LL | macro cfg() {} |
| 45 | + | ^^^^^^^^^^^^^^ |
| 46 | +note: `cfg` could also refer to the name defined here |
| 47 | + --> $DIR/ambiguous-builtin-attrs.rs:12:3 |
| 48 | + | |
| 49 | +LL | #[cfg(all())] //~ ERROR `cfg` is ambiguous |
| 50 | + | ^^^ |
| 51 | + |
| 52 | +error[E0659]: `inline` is ambiguous |
| 53 | + --> $DIR/ambiguous-builtin-attrs.rs:41:3 |
| 54 | + | |
| 55 | +LL | #[inline] //~ ERROR `inline` is ambiguous |
| 56 | + | ^^^^^^ |
| 57 | + | |
| 58 | +note: `inline` could refer to the name defined here |
| 59 | + --> $DIR/ambiguous-builtin-attrs.rs:39:1 |
| 60 | + | |
| 61 | +LL | macro_rules! inline { () => () } |
| 62 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 63 | +note: `inline` could also refer to the name defined here |
| 64 | + --> $DIR/ambiguous-builtin-attrs.rs:41:3 |
| 65 | + | |
| 66 | +LL | #[inline] //~ ERROR `inline` is ambiguous |
| 67 | + | ^^^^^^ |
| 68 | + |
| 69 | +error[E0659]: `inline` is ambiguous |
| 70 | + --> $DIR/ambiguous-builtin-attrs.rs:43:19 |
| 71 | + | |
| 72 | +LL | #[cfg_attr(all(), inline)] //~ ERROR `inline` is ambiguous |
| 73 | + | ^^^^^^ |
| 74 | + | |
| 75 | +note: `inline` could refer to the name defined here |
| 76 | + --> $DIR/ambiguous-builtin-attrs.rs:39:1 |
| 77 | + | |
| 78 | +LL | macro_rules! inline { () => () } |
| 79 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 80 | +note: `inline` could also refer to the name defined here |
| 81 | + --> $DIR/ambiguous-builtin-attrs.rs:43:19 |
| 82 | + | |
| 83 | +LL | #[cfg_attr(all(), inline)] //~ ERROR `inline` is ambiguous |
| 84 | + | ^^^^^^ |
| 85 | + |
| 86 | +error: aborting due to 5 previous errors |
| 87 | + |
| 88 | +For more information about this error, try `rustc --explain E0659`. |
0 commit comments