]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cfg/cfg-path-error.stderr
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.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