|
| 1 | +error: `cfg` predicate key must be an identifier |
| 2 | + --> $DIR/path-kw-as-pred.rs:11:7 |
| 3 | + | |
| 4 | +LL | #[cfg(crate)] |
| 5 | + | ^^^^^ |
| 6 | + |
| 7 | +error: `cfg` predicate key must be an identifier |
| 8 | + --> $DIR/path-kw-as-pred.rs:12:7 |
| 9 | + | |
| 10 | +LL | #[cfg(super)] |
| 11 | + | ^^^^^ |
| 12 | + |
| 13 | +error: `cfg` predicate key must be an identifier |
| 14 | + --> $DIR/path-kw-as-pred.rs:13:7 |
| 15 | + | |
| 16 | +LL | #[cfg(self)] |
| 17 | + | ^^^^ |
| 18 | + |
| 19 | +error: `cfg` predicate key must be an identifier |
| 20 | + --> $DIR/path-kw-as-pred.rs:14:7 |
| 21 | + | |
| 22 | +LL | #[cfg(Self)] |
| 23 | + | ^^^^ |
| 24 | + |
| 25 | +error: `cfg` predicate key must be an identifier |
| 26 | + --> $DIR/path-kw-as-pred.rs:15:12 |
| 27 | + | |
| 28 | +LL | #[cfg_attr(crate, path = "foo")] |
| 29 | + | ^^^^^ |
| 30 | + |
| 31 | +error: `cfg` predicate key must be an identifier |
| 32 | + --> $DIR/path-kw-as-pred.rs:16:12 |
| 33 | + | |
| 34 | +LL | #[cfg_attr(super, path = "foo")] |
| 35 | + | ^^^^^ |
| 36 | + |
| 37 | +error: `cfg` predicate key must be an identifier |
| 38 | + --> $DIR/path-kw-as-pred.rs:17:12 |
| 39 | + | |
| 40 | +LL | #[cfg_attr(self, path = "foo")] |
| 41 | + | ^^^^ |
| 42 | + |
| 43 | +error: `cfg` predicate key must be an identifier |
| 44 | + --> $DIR/path-kw-as-pred.rs:18:12 |
| 45 | + | |
| 46 | +LL | #[cfg_attr(Self, path = "foo")] |
| 47 | + | ^^^^ |
| 48 | + |
| 49 | +error: `cfg` predicate key must be an identifier |
| 50 | + --> $DIR/path-kw-as-pred.rs:3:15 |
| 51 | + | |
| 52 | +LL | #[cfg($crate)] |
| 53 | + | ^^^^^^ |
| 54 | +... |
| 55 | +LL | foo!(); |
| 56 | + | ------ in this macro invocation |
| 57 | + | |
| 58 | + = note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 59 | + |
| 60 | +error: `cfg` predicate key must be an identifier |
| 61 | + --> $DIR/path-kw-as-pred.rs:4:20 |
| 62 | + | |
| 63 | +LL | #[cfg_attr($crate, path = "foo")] |
| 64 | + | ^^^^^^ |
| 65 | +... |
| 66 | +LL | foo!(); |
| 67 | + | ------ in this macro invocation |
| 68 | + | |
| 69 | + = note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 70 | + |
| 71 | +error: `cfg` predicate key must be an identifier |
| 72 | + --> $DIR/path-kw-as-pred.rs:7:14 |
| 73 | + | |
| 74 | +LL | cfg!($crate); |
| 75 | + | ^^^^^^ |
| 76 | +... |
| 77 | +LL | foo!(); |
| 78 | + | ------ in this macro invocation |
| 79 | + | |
| 80 | + = note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 81 | + |
| 82 | +error: `cfg` predicate key must be an identifier |
| 83 | + --> $DIR/path-kw-as-pred.rs:24:10 |
| 84 | + | |
| 85 | +LL | cfg!(crate); |
| 86 | + | ^^^^^ |
| 87 | + |
| 88 | +error: `cfg` predicate key must be an identifier |
| 89 | + --> $DIR/path-kw-as-pred.rs:25:10 |
| 90 | + | |
| 91 | +LL | cfg!(super); |
| 92 | + | ^^^^^ |
| 93 | + |
| 94 | +error: `cfg` predicate key must be an identifier |
| 95 | + --> $DIR/path-kw-as-pred.rs:26:10 |
| 96 | + | |
| 97 | +LL | cfg!(self); |
| 98 | + | ^^^^ |
| 99 | + |
| 100 | +error: `cfg` predicate key must be an identifier |
| 101 | + --> $DIR/path-kw-as-pred.rs:27:10 |
| 102 | + | |
| 103 | +LL | cfg!(Self); |
| 104 | + | ^^^^ |
| 105 | + |
| 106 | +error: aborting due to 15 previous errors |
| 107 | + |
0 commit comments