summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/doctest/check-cfg-test.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-ui/doctest/check-cfg-test.stderr')
-rw-r--r--tests/rustdoc-ui/doctest/check-cfg-test.stderr2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/doctest/check-cfg-test.stderr b/tests/rustdoc-ui/doctest/check-cfg-test.stderr
index 0bfd569e3..5524f582d 100644
--- a/tests/rustdoc-ui/doctest/check-cfg-test.stderr
+++ b/tests/rustdoc-ui/doctest/check-cfg-test.stderr
@@ -5,6 +5,8 @@ LL | #[cfg(feature = "invalid")]
| ^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `test`
+ = help: to expect this configuration use `--check-cfg=cfg(feature, values("invalid"))`
+ = note: see <https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
warning: 1 warning emitted