1 error[E0433]: failed to resolve: use of undeclared crate or module `thing`
2 --> $DIR/bad-module.rs:2:15
4 LL | let foo = thing::len(Vec::new());
5 | ^^^^^ use of undeclared crate or module `thing`
7 error[E0433]: failed to resolve: use of undeclared crate or module `foo`
8 --> $DIR/bad-module.rs:5:15
10 LL | let foo = foo::bar::baz();
11 | ^^^ use of undeclared crate or module `foo`
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0433`.