]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cfg/cfg-target-compact-errors.stderr
Rollup merge of #97786 - ferrocene:pa-fix-simulate-remap-prefix, r=Mark-Simulacrum
[rust.git] / src / test / ui / cfg / cfg-target-compact-errors.stderr
1 error: `cfg` predicate key must be an identifier
2   --> $DIR/cfg-target-compact-errors.rs:5:14
3    |
4 LL | #[cfg(target(o::o))]
5    |              ^^^^
6
7 error[E0565]: literal in `cfg` predicate value must be a string
8   --> $DIR/cfg-target-compact-errors.rs:9:19
9    |
10 LL | #[cfg(target(os = 8))]
11    |                   ^
12
13 error[E0537]: invalid predicate `target_pointer`
14   --> $DIR/cfg-target-compact-errors.rs:13:28
15    |
16 LL | #[cfg(target(os = "linux", pointer(width = "64")))]
17    |                            ^^^^^^^^^^^^^^^^^^^^^
18
19 error: aborting due to 3 previous errors
20
21 Some errors have detailed explanations: E0537, E0565.
22 For more information about an error, try `rustc --explain E0537`.