fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0433]: failed to resolve: use of undeclared crate or module `st` 2 --> $DIR/crate-or-module-typo.rs:3:5 3 | 4LL | use st::cell::Cell; 5 | ^^ use of undeclared crate or module `st` 6 | 7help: there is a crate or module with a similar name 8 | 9LL | use std::cell::Cell; 10 | ~~~ 11 12error[E0432]: unresolved import `bas` 13 --> $DIR/crate-or-module-typo.rs:11:5 14 | 15LL | use bas::bar; 16 | ^^^ use of undeclared crate or module `bas` 17 | 18help: there is a crate or module with a similar name 19 | 20LL | use bar::bar; 21 | ~~~ 22 23error[E0433]: failed to resolve: use of undeclared crate or module `st` 24 --> $DIR/crate-or-module-typo.rs:14:10 25 | 26LL | bar: st::cell::Cell<bool> 27 | ^^ use of undeclared crate or module `st` 28 | 29help: there is a crate or module with a similar name 30 | 31LL | bar: std::cell::Cell<bool> 32 | ~~~ 33help: consider importing one of these items 34 | 35LL + use core::cell; 36 | 37LL + use std::cell; 38 | 39help: if you import `cell`, refer to it directly 40 | 41LL - bar: st::cell::Cell<bool> 42LL + bar: cell::Cell<bool> 43 | 44 45error[E0433]: failed to resolve: use of undeclared crate or module `bar` 46 --> $DIR/crate-or-module-typo.rs:6:20 47 | 48LL | pub fn bar() { bar::baz(); } 49 | ^^^ use of undeclared crate or module `bar` 50 51error: aborting due to 4 previous errors 52 53Some errors have detailed explanations: E0432, E0433. 54For more information about an error, try `rustc --explain E0432`.