Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
emberian committed Apr 26, 2013
1 parent b085b51 commit 8dd9dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/middle/resolve.rs
Expand Up @@ -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);
}
}
Expand Down

5 comments on commit 8dd9dc9

@bors
Copy link
Contributor

@bors bors commented on 8dd9dc9 Apr 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 8dd9dc9 Apr 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging cmr/rust/better_import_error = 8dd9dc9 into auto

@bors
Copy link
Contributor

@bors bors commented on 8dd9dc9 Apr 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cmr/rust/better_import_error = 8dd9dc9 merged ok, testing candidate = 9f11886

@bors
Copy link
Contributor

@bors bors commented on 8dd9dc9 Apr 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 8dd9dc9 Apr 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding incoming to auto = 9f11886

Please sign in to comment.