Skip to content

Commit c55d55e

Browse files
Patryk27estebank
andauthored
Fix a typo in late.rs
Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
1 parent d31d215 commit c55d55e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_resolve/late.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,7 @@ impl<'a, 'b, 'ast> LateResolutionVisitor<'a, 'b, 'ast> {
16751675
// latter one - for paths in expression-position.
16761676
//
16771677
// Thus (since we're in expression-position at this point), not to
1678-
// confuse the user, we want to keep the *message* from E04322 (so
1678+
// confuse the user, we want to keep the *message* from E0432 (so
16791679
// `parent_err`), but we want *hints* from E0412 (so `err`).
16801680
//
16811681
// And that's what happens below - we're just mixing both messages

0 commit comments

Comments
 (0)