Skip to content

Commit 451fd98

Browse files
Update UI test checking suggestion message to rename type starting with underscore
1 parent 3770cf7 commit 451fd98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/suggestions/silenced-binding-typo.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0425]: cannot find value `x` in this scope
44
LL | let _y = x;
55
| ^
66
|
7-
help: a local variable with a similar name exists, consider changing it
7+
help: a local variable with a similar name exists, consider renaming `_x` into `x`
88
|
99
LL | let x = 42;
1010
| ~

0 commit comments

Comments
 (0)