summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/check-cfg/check-cfg-test.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-ui/check-cfg/check-cfg-test.stderr')
-rw-r--r--tests/rustdoc-ui/check-cfg/check-cfg-test.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/check-cfg/check-cfg-test.stderr b/tests/rustdoc-ui/check-cfg/check-cfg-test.stderr
new file mode 100644
index 000000000..9770be2f1
--- /dev/null
+++ b/tests/rustdoc-ui/check-cfg/check-cfg-test.stderr
@@ -0,0 +1,11 @@
+warning: unexpected `cfg` condition value
+ --> $DIR/check-cfg-test.rs:9:7
+ |
+LL | #[cfg(feature = "invalid")]
+ | ^^^^^^^^^^^^^^^^^^^
+ |
+ = note: expected values for `feature` are: test
+ = note: `#[warn(unexpected_cfgs)]` on by default
+
+warning: 1 warning emitted
+