Skip to content

Commit 89cac55

Browse files
committed
tests: use //@ ignore-auxiliary with backlinked primary test file
1 parent 6bbee33 commit 89cac55

File tree

39 files changed

+37
-49
lines changed

39 files changed

+37
-49
lines changed

tests/codegen/remap_path_prefix/aux_mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ ignore-test: this is not a test
1+
//@ ignore-auxiliary (used by `./main.rs`)
22

33
#[inline]
44
pub fn some_aux_mod_function() -> i32 {

tests/ui/borrowck/move-error-snippets-ext.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ ignore-test (auxiliary, used by other tests)
1+
//@ ignore-auxiliary (used by `./move-error-snippets.rs`)
22

33
macro_rules! aaa {
44
($c:ident) => {{

tests/ui/codemap_tests/two_files_data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ ignore-test (auxiliary, used by other tests)
1+
//@ ignore-auxiliary (used by `./two_files.rs`)
22

33
trait Foo { }
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
//@ ignore-test (auxiliary, used by other tests)
1+
//@ ignore-auxiliary (used by `./inner-cfg-non-inline-mod.rs`)
22

33
#![cfg_attr(all(), cfg(FALSE))]

tests/ui/cross/cross-file-errors/underscore.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ ignore-test (auxiliary, used by other tests)
1+
//@ ignore-auxiliary (used by `./main.rs`)
22
#![crate_type = "lib"]
33

44
macro_rules! underscore {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
//@ ignore-test not a test, auxiliary
1+
//@ ignore-auxiliary (used by `../../macro-expanded-mod.rs`)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
//@ ignore-test not a test, auxiliary
1+
//@ ignore-auxiliary (used by `../../macro-expanded-mod.rs`)
22

33
mod_decl!(bar);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ ignore-test auxiliary file for expansion-time.rs
1+
//@ ignore-auxiliary (used by `./expansion-time.rs`)
22

33
1
44
2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ ignore-test: not a test
1+
//@ ignore-auxiliary (used by `./root.rs`)
22

33
#[allow(tool::lint)]
44
pub fn foo() {}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
//@ ignore-test: not a test
1+
//@ ignore-auxiliary (used by `./lint-pre-expansion-extern-module.rs`)
22

33
pub fn try() {}

0 commit comments

Comments
 (0)