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

16 lines
539 B
Plaintext
Raw Normal View History

2020-08-27 12:27:14 +00:00
error[E0433]: failed to resolve: use of undeclared crate or module `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();
2020-08-27 12:27:14 +00:00
| ^^^ use of undeclared crate or module `foo`
2018-08-08 12:28:26 +00:00
error[E0433]: failed to resolve: use of undeclared crate or module `thing`
--> $DIR/bad-module.rs:2:15
|
LL | let foo = thing::len(Vec::new());
| ^^^^^ use of undeclared crate or module `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`.