Fix a typo in late.rs

Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
This commit is contained in:
Patryk Wychowaniec
2020-06-03 08:38:10 +02:00
committed by GitHub
parent d31d215c56
commit c55d55e850

View File

@@ -1675,7 +1675,7 @@ impl<'a, 'b, 'ast> LateResolutionVisitor<'a, 'b, 'ast> {
// latter one - for paths in expression-position. // latter one - for paths in expression-position.
// //
// Thus (since we're in expression-position at this point), not to // 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`). // `parent_err`), but we want *hints* from E0412 (so `err`).
// //
// And that's what happens below - we're just mixing both messages // And that's what happens below - we're just mixing both messages