diff options
author | Eric Huss <eric@huss.org> | 2023-04-15 16:11:42 -0700 |
---|---|---|
committer | Eric Huss <eric@huss.org> | 2023-04-15 16:11:42 -0700 |
commit | a4e851cf622ffc365397f09a3ec2137a6c038ac8 (patch) | |
tree | e871108d35bb722638a69561cbcf9f8ab0e5669b /tests/ui/cross | |
parent | 3a645659b89ff96d0d6123ca9c18bce41e69ec36 (diff) | |
download | rust-a4e851cf622ffc365397f09a3ec2137a6c038ac8.tar.gz |
Add some reasons why tests are ignored.
Diffstat (limited to 'tests/ui/cross')
-rw-r--r-- | tests/ui/cross/cross-file-errors/main.stderr | 2 | ||||
-rw-r--r-- | tests/ui/cross/cross-file-errors/underscore.rs | 4 |
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 293a300ed61..56eb6ad429a 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 76e72a93fcc..4dd91c13ea9 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 { |