Skip to content

Commit f1e613e

Browse files
Update E0425 error explanation
1 parent 3479915 commit f1e613e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_resolve/diagnostics.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -632,8 +632,8 @@ trait Foo {
632632
let x = unknown_variable; // error: unresolved name `unknown_variable`
633633
```
634634
635-
Please verify you didn't misspell the name or that you're not using an
636-
invalid object. Example:
635+
Please verify that the name wasn't misspelled and ensure that the
636+
identifier being referred to is valid for the given situation. Example:
637637
638638
```
639639
enum something_that_does_exist {

0 commit comments

Comments
 (0)