Adds hint if a trait fails to resolve and a newly added one in Edition 2021 is suggested

This commit is contained in:
Jakob Degen
2021-10-25 20:04:35 -04:00
parent e91d5ca197
commit 958e645946
4 changed files with 135 additions and 16 deletions

View File

@@ -1502,6 +1502,7 @@ impl<'a: 'ast, 'ast> LateResolutionVisitor<'a, '_, 'ast> {
descr: "module",
path,
accessible: true,
note: None,
},
));
} else {