about summary refs log tree commit diff
path: root/tests/ui/cfg/cmdline-false.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/cfg/cmdline-false.stderr')
-rw-r--r--tests/ui/cfg/cmdline-false.stderr7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/ui/cfg/cmdline-false.stderr b/tests/ui/cfg/cmdline-false.stderr
index da5eb0c892a..3d486803821 100644
--- a/tests/ui/cfg/cmdline-false.stderr
+++ b/tests/ui/cfg/cmdline-false.stderr
@@ -7,13 +7,10 @@ LL |     foo();
 note: found an item that was configured out
   --> $DIR/cmdline-false.rs:5:4
    |
+LL | #[cfg(false)]
+   |       ----- the item is gated here
 LL | fn foo() {}
    |    ^^^
-note: the item is gated here
-  --> $DIR/cmdline-false.rs:4:7
-   |
-LL | #[cfg(false)]
-   |       ^^^^^
 
 error: aborting due to 1 previous error