]> git.lizzy.rs Git - rust.git/commitdiff
Fix a typo in `late.rs`
authorPatryk Wychowaniec <wychowaniec.patryk@gmail.com>
Wed, 3 Jun 2020 06:38:10 +0000 (08:38 +0200)
committerGitHub <noreply@github.com>
Wed, 3 Jun 2020 06:38:10 +0000 (08:38 +0200)
Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
src/librustc_resolve/late.rs

index f6728b758db650106bc37021bfbaf3d7b49f7616..2085c8109fd5c826cb344531543b6245506a2981 100644 (file)
@@ -1675,7 +1675,7 @@ fn smart_resolve_path_fragment(
             // latter one - for paths in expression-position.
             //
             // Thus (since we're in expression-position at this point), not to
-            // confuse the user, we want to keep the *message* from E04322 (so
+            // confuse the user, we want to keep the *message* from E0432 (so
             // `parent_err`), but we want *hints* from E0412 (so `err`).
             //
             // And that's what happens below - we're just mixing both messages