summaryrefslogtreecommitdiffstats
path: root/tests/ui/check-cfg/well-known-names.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/check-cfg/well-known-names.stderr14
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/ui/check-cfg/well-known-names.stderr b/tests/ui/check-cfg/well-known-names.stderr
index 34c5d6172..3001289b7 100644
--- a/tests/ui/check-cfg/well-known-names.stderr
+++ b/tests/ui/check-cfg/well-known-names.stderr
@@ -1,14 +1,16 @@
-warning: unexpected `cfg` condition name
+warning: unexpected `cfg` condition name: `target_oz`
--> $DIR/well-known-names.rs:6:7
|
LL | #[cfg(target_oz = "linux")]
- | ---------^^^^^^^^^^
- | |
- | help: there is a config with a similar name: `target_os`
+ | ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unexpected_cfgs)]` on by default
+help: there is a config with a similar name and value
+ |
+LL | #[cfg(target_os = "linux")]
+ | ~~~~~~~~~
-warning: unexpected `cfg` condition name
+warning: unexpected `cfg` condition name: `features`
--> $DIR/well-known-names.rs:13:7
|
LL | #[cfg(features = "foo")]
@@ -16,7 +18,7 @@ LL | #[cfg(features = "foo")]
| |
| help: there is a config with a similar name: `feature`
-warning: unexpected `cfg` condition name
+warning: unexpected `cfg` condition name: `uniw`
--> $DIR/well-known-names.rs:20:7
|
LL | #[cfg(uniw)]