Skip to content
/ rust Public
forked from rust-lang/rust

Commit 2c58212

Browse files
committed
Give E0223 similar-item suggestion test more descriptive name.
1 parent 7e1a8bd commit 2c58212

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

src/tools/tidy/src/issues.txt

-1
Original file line numberDiff line numberDiff line change
@@ -3857,7 +3857,6 @@ ui/suggestions/issue-106443-sugg-clone-for-arg.rs
38573857
ui/suggestions/issue-106443-sugg-clone-for-bound.rs
38583858
ui/suggestions/issue-107860.rs
38593859
ui/suggestions/issue-108470.rs
3860-
ui/suggestions/issue-109195.rs
38613860
ui/suggestions/issue-109291.rs
38623861
ui/suggestions/issue-109396.rs
38633862
ui/suggestions/issue-109436.rs

tests/ui/suggestions/issue-109195.rs renamed to tests/ui/suggestions/ambiguous-assoc-type-path-suggest-similar-item.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// https://github.com/rust-lang/rust/issues/109195
12
struct Foo;
23

34
impl Foo {

tests/ui/suggestions/issue-109195.stderr renamed to tests/ui/suggestions/ambiguous-assoc-type-path-suggest-similar-item.stderr

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0223]: ambiguous associated type
2-
--> $DIR/issue-109195.rs:12:5
2+
--> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:13:5
33
|
44
LL | String::from::utf8;
55
| ^^^^^^^^^^^^
@@ -10,7 +10,7 @@ LL | String::from_utf8;
1010
| ~~~~~~~~~
1111

1212
error[E0223]: ambiguous associated type
13-
--> $DIR/issue-109195.rs:15:5
13+
--> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:16:5
1414
|
1515
LL | String::from::utf8();
1616
| ^^^^^^^^^^^^
@@ -21,7 +21,7 @@ LL | String::from_utf8();
2121
| ~~~~~~~~~
2222

2323
error[E0223]: ambiguous associated type
24-
--> $DIR/issue-109195.rs:18:5
24+
--> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:19:5
2525
|
2626
LL | String::from::utf16();
2727
| ^^^^^^^^^^^^
@@ -32,7 +32,7 @@ LL | String::from_utf16();
3232
| ~~~~~~~~~~
3333

3434
error[E0223]: ambiguous associated type
35-
--> $DIR/issue-109195.rs:21:5
35+
--> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:22:5
3636
|
3737
LL | String::from::method_that_doesnt_exist();
3838
| ^^^^^^^^^^^^
@@ -43,7 +43,7 @@ LL | <String as Example>::from::method_that_doesnt_exist();
4343
| ~~~~~~~~~~~~~~~~~~~~~~~~~
4444

4545
error[E0223]: ambiguous associated type
46-
--> $DIR/issue-109195.rs:24:5
46+
--> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:25:5
4747
|
4848
LL | str::into::string();
4949
| ^^^^^^^^^
@@ -54,7 +54,7 @@ LL | str::into_string();
5454
| ~~~~~~~~~~~
5555

5656
error[E0223]: ambiguous associated type
57-
--> $DIR/issue-109195.rs:27:5
57+
--> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:28:5
5858
|
5959
LL | str::char::indices();
6060
| ^^^^^^^^^
@@ -65,7 +65,7 @@ LL | str::char_indices();
6565
| ~~~~~~~~~~~~
6666

6767
error[E0223]: ambiguous associated type
68-
--> $DIR/issue-109195.rs:30:5
68+
--> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:31:5
6969
|
7070
LL | Foo::bar::baz;
7171
| ^^^^^^^^
@@ -76,7 +76,7 @@ LL | Foo::bar_baz;
7676
| ~~~~~~~
7777

7878
error[E0223]: ambiguous associated type
79-
--> $DIR/issue-109195.rs:33:5
79+
--> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:34:5
8080
|
8181
LL | Foo::bar::quux;
8282
| ^^^^^^^^
@@ -87,7 +87,7 @@ LL | Foo::bar_quux;
8787
| ~~~~~~~~
8888

8989
error[E0223]: ambiguous associated type
90-
--> $DIR/issue-109195.rs:36:5
90+
--> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:37:5
9191
|
9292
LL | Foo::bar::fizz;
9393
| ^^^^^^^^
@@ -98,7 +98,7 @@ LL | <Foo as Example>::bar::fizz;
9898
| ~~~~~~~~~~~~~~~~~~~~~
9999

100100
error[E0223]: ambiguous associated type
101-
--> $DIR/issue-109195.rs:39:5
101+
--> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:40:5
102102
|
103103
LL | i32::wrapping::add;
104104
| ^^^^^^^^^^^^^
@@ -109,7 +109,7 @@ LL | i32::wrapping_add;
109109
| ~~~~~~~~~~~~
110110

111111
error[E0223]: ambiguous associated type
112-
--> $DIR/issue-109195.rs:42:5
112+
--> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:43:5
113113
|
114114
LL | i32::wrapping::method_that_doesnt_exist;
115115
| ^^^^^^^^^^^^^
@@ -120,7 +120,7 @@ LL | <i32 as Example>::wrapping::method_that_doesnt_exist;
120120
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
121121

122122
error[E0223]: ambiguous associated type
123-
--> $DIR/issue-109195.rs:47:5
123+
--> $DIR/ambiguous-assoc-type-path-suggest-similar-item.rs:48:5
124124
|
125125
LL | <dyn std::any::Any>::downcast::mut_unchecked;
126126
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)