about summary refs log tree commit diff
path: root/tests/ui/check-cfg/raw-keywords.edition2021.stderr
blob: cc3702685fd2cd2ca98199906733b9cbbc8a4ff3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
warning: unexpected `cfg` condition name: `tru`
  --> $DIR/raw-keywords.rs:15:7
   |
LL | #[cfg(tru)]
   |       ^^^ help: there is a config with a similar name: `r#true`
   |
   = help: to expect this configuration use `--check-cfg=cfg(tru)`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
   = note: `#[warn(unexpected_cfgs)]` on by default

warning: unexpected `cfg` condition name: `r#false`
  --> $DIR/raw-keywords.rs:20:7
   |
LL | #[cfg(r#false)]
   |       ^^^^^^^
   |
   = help: expected names are: `r#async`, `edition2015`, `edition2021`, and `r#true` and 31 more
   = help: to expect this configuration use `--check-cfg=cfg(r#false)`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `r#await`
  --> $DIR/raw-keywords.rs:29:29
   |
LL | #[cfg_attr(edition2021, cfg(r#await))]
   |                             ^^^^^^^
   |
   = help: to expect this configuration use `--check-cfg=cfg(r#await)`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `raw`
  --> $DIR/raw-keywords.rs:34:7
   |
LL | #[cfg(r#raw)]
   |       ^^^^^
   |
   = help: to expect this configuration use `--check-cfg=cfg(raw)`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration

warning: 4 warnings emitted