add comment
This commit is contained in:
parent
b085b51357
commit
8dd9dc995e
@ -3001,7 +3001,7 @@ pub impl Resolver {
|
||||
self.session.span_err(imports[index].span, ~"unresolved import");
|
||||
} else {
|
||||
let err = fmt!("unresolved import (maybe you meant `%s::*`?)",
|
||||
sn.slice(0, sn.len() - 1));
|
||||
sn.slice(0, sn.len() - 1)); // -1 to adjust for semicolon
|
||||
self.session.span_err(imports[index].span, err);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user