summaryrefslogtreecommitdiffstats
path: root/tests/ui/cross/cross-file-errors
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/cross/cross-file-errors')
-rw-r--r--tests/ui/cross/cross-file-errors/main.stderr2
-rw-r--r--tests/ui/cross/cross-file-errors/underscore.rs4
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/ui/cross/cross-file-errors/main.stderr b/tests/ui/cross/cross-file-errors/main.stderr
index 293a300ed..56eb6ad42 100644
--- a/tests/ui/cross/cross-file-errors/main.stderr
+++ b/tests/ui/cross/cross-file-errors/main.stderr
@@ -1,5 +1,5 @@
error: in expressions, `_` can only be used on the left-hand side of an assignment
- --> $DIR/underscore.rs:8:9
+ --> $DIR/underscore.rs:6:9
|
LL | _
| ^ `_` not allowed here
diff --git a/tests/ui/cross/cross-file-errors/underscore.rs b/tests/ui/cross/cross-file-errors/underscore.rs
index 76e72a93f..4dd91c13e 100644
--- a/tests/ui/cross/cross-file-errors/underscore.rs
+++ b/tests/ui/cross/cross-file-errors/underscore.rs
@@ -1,6 +1,4 @@
-// We want this file only so we can test cross-file error
-// messages, but we don't want it in an external crate.
-// ignore-test
+// ignore-test (auxiliary, used by other tests)
#![crate_type = "lib"]
macro_rules! underscore {