rust/tests/ui/resolve/bad-module.stderr

20 lines
691 B
Plaintext
Raw Normal View History

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `foo`
2018-12-25 15:56:47 +00:00
--> $DIR/bad-module.rs:5:15
2018-08-08 12:28:26 +00:00
|
LL | let foo = foo::bar::baz();
| ^^^ use of unresolved module or unlinked crate `foo`
|
= help: you might be missing a crate named `foo`
2018-08-08 12:28:26 +00:00
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thing`
--> $DIR/bad-module.rs:2:15
|
LL | let foo = thing::len(Vec::new());
| ^^^^^ use of unresolved module or unlinked crate `thing`
|
= help: you might be missing a crate named `thing`
2018-08-08 12:28:26 +00:00
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0433`.