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 74625e1 commit 043c2d9Copy full SHA for 043c2d9
src/test/compile-fail/unresolved-import.rs
@@ -8,5 +8,10 @@
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 `foo`
14
+
15
+mod bar {
16
+ struct bar;
17
+}
0 commit comments