about summary refs log tree commit diff
path: root/tests/ui/check-cfg/no-values.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/check-cfg/no-values.stderr')
-rw-r--r--tests/ui/check-cfg/no-values.stderr4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ui/check-cfg/no-values.stderr b/tests/ui/check-cfg/no-values.stderr
index 8c926d187fe..ffa87dc58f2 100644
--- a/tests/ui/check-cfg/no-values.stderr
+++ b/tests/ui/check-cfg/no-values.stderr
@@ -2,7 +2,9 @@ warning: unexpected `cfg` condition value
   --> $DIR/no-values.rs:6:7
    |
 LL | #[cfg(feature = "foo")]
-   |       ^^^^^^^^^^^^^^^
+   |       ^^^^^^^--------
+   |              |
+   |              help: remove the value
    |
    = note: no expected value for `feature`
    = note: `#[warn(unexpected_cfgs)]` on by default