]> git.proxmox.com Git - rustc.git/blob - src/test/ui/cfg/cfg-path-error.stderr
New upstream version 1.61.0+dfsg1
[rustc.git] / src / test / ui / cfg / cfg-path-error.stderr
1 error: `cfg` predicate key must be an identifier
2 --> $DIR/cfg-path-error.rs:3:16
3 |
4 LL | #[cfg(any(foo, foo::bar))]
5 | ^^^^^^^^
6
7 error: `cfg` predicate key must be an identifier
8 --> $DIR/cfg-path-error.rs:7:11
9 |
10 LL | #[cfg(any(foo::bar, foo))]
11 | ^^^^^^^^
12
13 error: `cfg` predicate key must be an identifier
14 --> $DIR/cfg-path-error.rs:11:16
15 |
16 LL | #[cfg(all(foo, foo::bar))]
17 | ^^^^^^^^
18
19 error: `cfg` predicate key must be an identifier
20 --> $DIR/cfg-path-error.rs:15:11
21 |
22 LL | #[cfg(all(foo::bar, foo))]
23 | ^^^^^^^^
24
25 error: aborting due to 4 previous errors
26