diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-06-19 06:20:05 +0000 |
|---|---|---|
| committer | Trevor Gross <tmgross@umich.edu> | 2025-06-24 10:55:47 +0000 |
| commit | c978c8986f700bc8fa83b5f98cc96f41772fa281 (patch) | |
| tree | 50f752978f2efce05590f4955259de854dd8ecf7 | |
| parent | f8ab9343b8e6f195be036bdd99884c8721876820 (diff) | |
| download | rust-c978c8986f700bc8fa83b5f98cc96f41772fa281.tar.gz rust-c978c8986f700bc8fa83b5f98cc96f41772fa281.zip | |
Move some `issues-*` tests to better homes
These tests were updated in the previous commit; while they are being cleaned up, move them to a non-issue directory.
| -rw-r--r-- | src/tools/tidy/src/issues.txt | 2 | ||||
| -rw-r--r-- | src/tools/tidy/src/ui_tests.rs | 2 | ||||
| -rw-r--r-- | tests/ui/derives/nonsense-input-to-debug.rs (renamed from tests/ui/issues/issue-32950.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/derives/nonsense-input-to-debug.stderr (renamed from tests/ui/issues/issue-32950.stderr) | 6 | ||||
| -rw-r--r-- | tests/ui/macros/macro-metavar-expr-concat/empty-input.rs (renamed from tests/ui/issues/issue-50403.rs) | 0 | ||||
| -rw-r--r-- | tests/ui/macros/macro-metavar-expr-concat/empty-input.stderr (renamed from tests/ui/issues/issue-50403.stderr) | 4 |
6 files changed, 6 insertions, 8 deletions
diff --git a/src/tools/tidy/src/issues.txt b/src/tools/tidy/src/issues.txt index 045f2f0692a..1ca3b045b74 100644 --- a/src/tools/tidy/src/issues.txt +++ b/src/tools/tidy/src/issues.txt @@ -2071,7 +2071,6 @@ ui/issues/issue-32782.rs ui/issues/issue-32797.rs ui/issues/issue-32805.rs ui/issues/issue-3290.rs -ui/issues/issue-32950.rs ui/issues/issue-32995-2.rs ui/issues/issue-32995.rs ui/issues/issue-33202.rs @@ -2341,7 +2340,6 @@ ui/issues/issue-49934.rs ui/issues/issue-49955.rs ui/issues/issue-49973.rs ui/issues/issue-50187.rs -ui/issues/issue-50403.rs ui/issues/issue-50411.rs ui/issues/issue-50415.rs ui/issues/issue-50442.rs diff --git a/src/tools/tidy/src/ui_tests.rs b/src/tools/tidy/src/ui_tests.rs index 8f9b07c49ac..53226fcb80e 100644 --- a/src/tools/tidy/src/ui_tests.rs +++ b/src/tools/tidy/src/ui_tests.rs @@ -17,7 +17,7 @@ use ignore::Walk; const ENTRY_LIMIT: u32 = 901; // FIXME: The following limits should be reduced eventually. -const ISSUES_ENTRY_LIMIT: u32 = 1623; +const ISSUES_ENTRY_LIMIT: u32 = 1619; const EXPECTED_TEST_FILE_EXTENSIONS: &[&str] = &[ "rs", // test source files diff --git a/tests/ui/issues/issue-32950.rs b/tests/ui/derives/nonsense-input-to-debug.rs index 7dfa3cd616a..7dfa3cd616a 100644 --- a/tests/ui/issues/issue-32950.rs +++ b/tests/ui/derives/nonsense-input-to-debug.rs diff --git a/tests/ui/issues/issue-32950.stderr b/tests/ui/derives/nonsense-input-to-debug.stderr index ee3b5810e7d..7c97ca93cfc 100644 --- a/tests/ui/issues/issue-32950.stderr +++ b/tests/ui/derives/nonsense-input-to-debug.stderr @@ -1,11 +1,11 @@ error: `derive` cannot be used on items with type macros - --> $DIR/issue-32950.rs:7:22 + --> $DIR/nonsense-input-to-debug.rs:7:22 | LL | should_be_vec_t: vec![T], | ^^^^^^^ error: expected type, found `expr` metavariable - --> $DIR/issue-32950.rs:7:22 + --> $DIR/nonsense-input-to-debug.rs:7:22 | LL | should_be_vec_t: vec![T], | ^^^^^^^ @@ -17,7 +17,7 @@ LL | should_be_vec_t: vec![T], = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0392]: type parameter `T` is never used - --> $DIR/issue-32950.rs:5:17 + --> $DIR/nonsense-input-to-debug.rs:5:17 | LL | struct Nonsense<T> { | ^ unused type parameter diff --git a/tests/ui/issues/issue-50403.rs b/tests/ui/macros/macro-metavar-expr-concat/empty-input.rs index caad63c5f6b..caad63c5f6b 100644 --- a/tests/ui/issues/issue-50403.rs +++ b/tests/ui/macros/macro-metavar-expr-concat/empty-input.rs diff --git a/tests/ui/issues/issue-50403.stderr b/tests/ui/macros/macro-metavar-expr-concat/empty-input.stderr index cb4d372f6fe..e95032dd247 100644 --- a/tests/ui/issues/issue-50403.stderr +++ b/tests/ui/macros/macro-metavar-expr-concat/empty-input.stderr @@ -1,11 +1,11 @@ error: expected identifier or string literal - --> $DIR/issue-50403.rs:6:14 + --> $DIR/empty-input.rs:6:14 | LL | () => { ${concat()} } | ^^^^^^^^^^ error: expected expression, found `$` - --> $DIR/issue-50403.rs:6:13 + --> $DIR/empty-input.rs:6:13 | LL | () => { ${concat()} } | ^ expected expression |
