summaryrefslogtreecommitdiffstats
path: root/tests/ui/check-cfg/well-known-names.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /tests/ui/check-cfg/well-known-names.stderr
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/check-cfg/well-known-names.stderr')
-rw-r--r--tests/ui/check-cfg/well-known-names.stderr26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/ui/check-cfg/well-known-names.stderr b/tests/ui/check-cfg/well-known-names.stderr
new file mode 100644
index 000000000..bdbe4d29d
--- /dev/null
+++ b/tests/ui/check-cfg/well-known-names.stderr
@@ -0,0 +1,26 @@
+warning: unexpected `cfg` condition name
+ --> $DIR/well-known-names.rs:6:7
+ |
+LL | #[cfg(target_oz = "linux")]
+ | ---------^^^^^^^^^^
+ | |
+ | help: did you mean: `target_os`
+ |
+ = note: `#[warn(unexpected_cfgs)]` on by default
+
+warning: unexpected `cfg` condition name
+ --> $DIR/well-known-names.rs:13:7
+ |
+LL | #[cfg(features = "foo")]
+ | --------^^^^^^^^
+ | |
+ | help: did you mean: `feature`
+
+warning: unexpected `cfg` condition name
+ --> $DIR/well-known-names.rs:20:7
+ |
+LL | #[cfg(uniw)]
+ | ^^^^ help: did you mean: `unix`
+
+warning: 3 warnings emitted
+