We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53f789e + 5efc780 commit 6e2ea59Copy full SHA for 6e2ea59
src/librustc_resolve/lib.rs
@@ -2880,8 +2880,7 @@ impl<'a> Resolver<'a> {
2880
if !msg.is_empty() {
2881
msg = format!(". Did you mean {}?", msg);
2882
} else {
2883
- // we check if this a module and if so, we display a help
2884
- // message
+ // we display a help message if this is a module
2885
let name_path = path.segments.iter()
2886
.map(|seg| seg.identifier.name)
2887
.collect::<Vec<_>>();
0 commit comments