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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1675,7 +1675,7 @@ impl<'a, 'b, 'ast> LateResolutionVisitor<'a, 'b, 'ast> {
// 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