Skip to content

Commit 3f1e999

Browse files
committed
Update UI tests
1 parent 717bf35 commit 3f1e999

3 files changed

+44
-9
lines changed

src/test/ui/resolve/issue-14254.stderr

+42-7
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,12 @@ error[E0425]: cannot find value `bah` in this scope
2626
--> $DIR/issue-14254.rs:36:9
2727
|
2828
LL | bah;
29-
| ^^^ help: you might have meant to call the associated function: `Self::bah`
29+
| ^^^
30+
|
31+
help: you might have meant to refer to the associated function
32+
|
33+
LL | Self::bah;
34+
| ~~~~~~~~~
3035

3136
error[E0425]: cannot find value `b` in this scope
3237
--> $DIR/issue-14254.rs:38:9
@@ -56,7 +61,12 @@ error[E0425]: cannot find value `bah` in this scope
5661
--> $DIR/issue-14254.rs:53:9
5762
|
5863
LL | bah;
59-
| ^^^ help: you might have meant to call the associated function: `Self::bah`
64+
| ^^^
65+
|
66+
help: you might have meant to refer to the associated function
67+
|
68+
LL | Self::bah;
69+
| ~~~~~~~~~
6070

6171
error[E0425]: cannot find value `b` in this scope
6272
--> $DIR/issue-14254.rs:55:9
@@ -68,31 +78,56 @@ error[E0425]: cannot find value `bah` in this scope
6878
--> $DIR/issue-14254.rs:64:9
6979
|
7080
LL | bah;
71-
| ^^^ help: you might have meant to call the associated function: `Self::bah`
81+
| ^^^
82+
|
83+
help: you might have meant to refer to the associated function
84+
|
85+
LL | Self::bah;
86+
| ~~~~~~~~~
7287

7388
error[E0425]: cannot find value `bah` in this scope
7489
--> $DIR/issue-14254.rs:73:9
7590
|
7691
LL | bah;
77-
| ^^^ help: you might have meant to call the associated function: `Self::bah`
92+
| ^^^
93+
|
94+
help: you might have meant to refer to the associated function
95+
|
96+
LL | Self::bah;
97+
| ~~~~~~~~~
7898

7999
error[E0425]: cannot find value `bah` in this scope
80100
--> $DIR/issue-14254.rs:82:9
81101
|
82102
LL | bah;
83-
| ^^^ help: you might have meant to call the associated function: `Self::bah`
103+
| ^^^
104+
|
105+
help: you might have meant to refer to the associated function
106+
|
107+
LL | Self::bah;
108+
| ~~~~~~~~~
84109

85110
error[E0425]: cannot find value `bah` in this scope
86111
--> $DIR/issue-14254.rs:91:9
87112
|
88113
LL | bah;
89-
| ^^^ help: you might have meant to call the associated function: `Self::bah`
114+
| ^^^
115+
|
116+
help: you might have meant to refer to the associated function
117+
|
118+
LL | Self::bah;
119+
| ~~~~~~~~~
90120

91121
error[E0425]: cannot find value `bah` in this scope
92122
--> $DIR/issue-14254.rs:100:9
93123
|
94124
LL | bah;
95-
| ^^^ help: you might have meant to call the associated function: `Self::bah`
125+
| ^^^
126+
|
127+
help: you might have meant to refer to the associated function
128+
|
129+
LL | Self::bah;
130+
| ~~~~~~~~~
96131

97132
error[E0425]: cannot find function `baz` in this scope
98133
--> $DIR/issue-14254.rs:19:9

src/test/ui/resolve/resolve-assoc-suggestions.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ error[E0425]: cannot find value `method` in this scope
5050
--> $DIR/resolve-assoc-suggestions.rs:34:9
5151
|
5252
LL | method;
53-
| ^^^^^^ help: you might have meant to call the method: `self.method`
53+
| ^^^^^^ help: you might have meant to refer to the method: `self.method`
5454

5555
error: aborting due to 9 previous errors
5656

src/test/ui/resolve/typo-suggestion-for-variable-with-name-similar-to-struct-field.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ LL | bah;
4040
LL | fn ba() {}
4141
| ------- similarly named function `ba` defined here
4242
|
43-
help: you might have meant to call the associated function
43+
help: you might have meant to refer to the associated function
4444
|
4545
LL | Self::bah;
4646
| ~~~~~~~~~

0 commit comments

Comments
 (0)