diff options
| author | Zachary S <zasample18+github@gmail.com> | 2025-01-23 13:17:16 -0600 |
|---|---|---|
| committer | Zachary S <zasample18+github@gmail.com> | 2025-01-23 13:20:25 -0600 |
| commit | 2c58212619e32035d5c9b15e834c89314ba1d900 (patch) | |
| tree | 93229aa2969f83471f494f515ee611065208eba9 | |
| parent | 7e1a8bd63312353ba97e186df18a61d05dc067d2 (diff) | |
| download | rust-2c58212619e32035d5c9b15e834c89314ba1d900.tar.gz rust-2c58212619e32035d5c9b15e834c89314ba1d900.zip | |
Give E0223 similar-item suggestion test more descriptive name.
| -rw-r--r-- | src/tools/tidy/src/issues.txt | 1 | ||||
| -rw-r--r-- | tests/ui/suggestions/ambiguous-assoc-type-path-suggest-similar-item.rs (renamed from tests/ui/suggestions/issue-109195.rs) | 1 | ||||
| -rw-r--r-- | tests/ui/suggestions/ambiguous-assoc-type-path-suggest-similar-item.stderr (renamed from tests/ui/suggestions/issue-109195.stderr) | 24 |
3 files changed, 13 insertions, 13 deletions
diff --git a/src/tools/tidy/src/issues.txt b/src/tools/tidy/src/issues.txt index de3380502bf..5878cce5ffb 100644 --- a/src/tools/tidy/src/issues.txt +++ b/src/tools/tidy/src/issues.txt @@ -3857,7 +3857,6 @@ ui/suggestions/issue-106443-sugg-clone-for-arg.rs ui/suggestions/issue-106443-sugg-clone-for-bound.rs ui/suggestions/issue-107860.rs ui/suggestions/issue-108470.rs -ui/suggestions/issue-109195.rs ui/suggestions/issue-109291.rs ui/suggestions/issue-109396.rs ui/suggestions/issue-109436.rs diff --git a/tests/ui/suggestions/issue-109195.rs b/tests/ui/suggestions/ambiguous-assoc-type-path-suggest-similar-item.rs index ba66cae384a..a9c2c20ef37 100644 --- a/tests/ui/suggestions/issue-109195.rs +++ b/tests/ui/suggestions/ambiguous-assoc-type-path-suggest-similar-item.rs @@ -1,3 +1,4 @@ +// https://github.com/rust-lang/rust/issues/109195 struct Foo; impl Foo { diff --git a/tests/ui/suggestions/issue-109195.stderr b/tests/ui/suggestions/ambiguous-assoc-type-path-suggest-similar-item.stderr index 166c9e609ca..5863aa28f41 100644 --- a/tests/ui/suggestions/issue-109195.stderr +++ b/tests/ui/suggestions/ambiguous-assoc-type-path-suggest-similar-item.stderr @@ -1,5 +1,5 @@ error[E0223]: ambiguous associated type - --> $DIR/issue-109195.rs:12:5 + --> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:13:5 | LL | String::from::utf8; | ^^^^^^^^^^^^ @@ -10,7 +10,7 @@ LL | String::from_utf8; | ~~~~~~~~~ error[E0223]: ambiguous associated type - --> $DIR/issue-109195.rs:15:5 + --> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:16:5 | LL | String::from::utf8(); | ^^^^^^^^^^^^ @@ -21,7 +21,7 @@ LL | String::from_utf8(); | ~~~~~~~~~ error[E0223]: ambiguous associated type - --> $DIR/issue-109195.rs:18:5 + --> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:19:5 | LL | String::from::utf16(); | ^^^^^^^^^^^^ @@ -32,7 +32,7 @@ LL | String::from_utf16(); | ~~~~~~~~~~ error[E0223]: ambiguous associated type - --> $DIR/issue-109195.rs:21:5 + --> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:22:5 | LL | String::from::method_that_doesnt_exist(); | ^^^^^^^^^^^^ @@ -43,7 +43,7 @@ LL | <String as Example>::from::method_that_doesnt_exist(); | ~~~~~~~~~~~~~~~~~~~~~~~~~ error[E0223]: ambiguous associated type - --> $DIR/issue-109195.rs:24:5 + --> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:25:5 | LL | str::into::string(); | ^^^^^^^^^ @@ -54,7 +54,7 @@ LL | str::into_string(); | ~~~~~~~~~~~ error[E0223]: ambiguous associated type - --> $DIR/issue-109195.rs:27:5 + --> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:28:5 | LL | str::char::indices(); | ^^^^^^^^^ @@ -65,7 +65,7 @@ LL | str::char_indices(); | ~~~~~~~~~~~~ error[E0223]: ambiguous associated type - --> $DIR/issue-109195.rs:30:5 + --> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:31:5 | LL | Foo::bar::baz; | ^^^^^^^^ @@ -76,7 +76,7 @@ LL | Foo::bar_baz; | ~~~~~~~ error[E0223]: ambiguous associated type - --> $DIR/issue-109195.rs:33:5 + --> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:34:5 | LL | Foo::bar::quux; | ^^^^^^^^ @@ -87,7 +87,7 @@ LL | Foo::bar_quux; | ~~~~~~~~ error[E0223]: ambiguous associated type - --> $DIR/issue-109195.rs:36:5 + --> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:37:5 | LL | Foo::bar::fizz; | ^^^^^^^^ @@ -98,7 +98,7 @@ LL | <Foo as Example>::bar::fizz; | ~~~~~~~~~~~~~~~~~~~~~ error[E0223]: ambiguous associated type - --> $DIR/issue-109195.rs:39:5 + --> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:40:5 | LL | i32::wrapping::add; | ^^^^^^^^^^^^^ @@ -109,7 +109,7 @@ LL | i32::wrapping_add; | ~~~~~~~~~~~~ error[E0223]: ambiguous associated type - --> $DIR/issue-109195.rs:42:5 + --> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:43:5 | LL | i32::wrapping::method_that_doesnt_exist; | ^^^^^^^^^^^^^ @@ -120,7 +120,7 @@ LL | <i32 as Example>::wrapping::method_that_doesnt_exist; | ~~~~~~~~~~~~~~~~~~~~~~~~~~ error[E0223]: ambiguous associated type - --> $DIR/issue-109195.rs:47:5 + --> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:48:5 | LL | <dyn std::any::Any>::downcast::mut_unchecked; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
