1 error[E0433]: failed to resolve: use of undeclared crate or module `st`
2 --> $DIR/crate-or-module-typo.rs:3:5
4 LL | use st::cell::Cell;
5 | ^^ use of undeclared crate or module `st`
7 help: there is a crate or module with a similar name
9 LL | use std::cell::Cell;
12 error[E0432]: unresolved import `bas`
13 --> $DIR/crate-or-module-typo.rs:11:5
16 | ^^^ use of undeclared crate or module `bas`
18 help: there is a crate or module with a similar name
23 error[E0433]: failed to resolve: use of undeclared crate or module `st`
24 --> $DIR/crate-or-module-typo.rs:14:10
26 LL | bar: st::cell::Cell<bool>
27 | ^^ use of undeclared crate or module `st`
29 help: there is a crate or module with a similar name
31 LL | bar: std::cell::Cell<bool>
34 error[E0433]: failed to resolve: use of undeclared crate or module `bar`
35 --> $DIR/crate-or-module-typo.rs:6:20
37 LL | pub fn bar() { bar::baz(); }
38 | ^^^ use of undeclared crate or module `bar`
40 error: aborting due to 4 previous errors
42 Some errors have detailed explanations: E0432, E0433.
43 For more information about an error, try `rustc --explain E0432`.