Add test for resolution errors
This commit is contained in:
parent
03f75b629a
commit
52f8b22d4f
1 changed files with 7 additions and 1 deletions
|
@ -8,5 +8,11 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use foo::bar; //~ ERROR unresolved import. maybe a missing
|
||||
use foo::bar; //~ ERROR unresolved import. maybe a missing `extern mod foo`?
|
||||
//~^ ERROR failed to resolve import
|
||||
use x = bar::baz; //~ ERROR unresolved import: could not find `baz` in `bar`
|
||||
//~^ ERROR failed to resolve import
|
||||
|
||||
mod bar {
|
||||
struct bar;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue