We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0afcd34 commit 9cbab89Copy full SHA for 9cbab89
src/librustc/middle/resolve.rs
@@ -2487,7 +2487,7 @@ pub impl Resolver {
2487
if module_name == ~"???" {
2488
self.session.span_err(span {lo: span.lo, hi: span.lo +
2489
BytePos(str::len(*segment_name)), expn_info:
2490
- span.expn_info}, fmt!("unresolved import. maybe \
+ span.expn_info}, fmt!("unresolved import. maybe \
2491
a missing 'extern mod %s'?",
2492
*segment_name));
2493
return Failed;
src/test/compile-fail/issue-1697.rs
@@ -10,7 +10,7 @@
10
11
// Testing that we don't fail abnormally after hitting the errors
12
13
-use unresolved::*; //~ ERROR unresolved name
+use unresolved::*; //~ ERROR unresolved import. maybe a missing
14
//~^ ERROR failed to resolve import
15
16
fn main() {
0 commit comments