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.
1 parent 03f75b6 commit 52f8b22Copy full SHA for 52f8b22
src/test/compile-fail/unresolved-import.rs
@@ -8,5 +8,11 @@
8
// option. This file may not be copied, modified, or distributed
9
// except according to those terms.
10
11
-use foo::bar; //~ ERROR unresolved import. maybe a missing
+use foo::bar; //~ ERROR unresolved import. maybe a missing `extern mod foo`?
12
//~^ ERROR failed to resolve import
13
+use x = bar::baz; //~ ERROR unresolved import: could not find `baz` in `bar`
14
+ //~^ ERROR failed to resolve import
15
+
16
+mod bar {
17
+ struct bar;
18
+}
0 commit comments