]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/crate-or-module-typo.stderr
Rollup merge of #106751 - clubby789:const-intrinsic, r=GuillaumeGomez
[rust.git] / tests / ui / suggestions / crate-or-module-typo.stderr
1 error[E0433]: failed to resolve: use of undeclared crate or module `st`
2   --> $DIR/crate-or-module-typo.rs:3:5
3    |
4 LL | use st::cell::Cell;
5    |     ^^ use of undeclared crate or module `st`
6    |
7 help: there is a crate or module with a similar name
8    |
9 LL | use std::cell::Cell;
10    |     ~~~
11
12 error[E0432]: unresolved import `bas`
13   --> $DIR/crate-or-module-typo.rs:11:5
14    |
15 LL | use bas::bar;
16    |     ^^^ use of undeclared crate or module `bas`
17    |
18 help: there is a crate or module with a similar name
19    |
20 LL | use bar::bar;
21    |     ~~~
22
23 error[E0433]: failed to resolve: use of undeclared crate or module `st`
24   --> $DIR/crate-or-module-typo.rs:14:10
25    |
26 LL |     bar: st::cell::Cell<bool>
27    |          ^^ use of undeclared crate or module `st`
28    |
29 help: there is a crate or module with a similar name
30    |
31 LL |     bar: std::cell::Cell<bool>
32    |          ~~~
33
34 error[E0433]: failed to resolve: use of undeclared crate or module `bar`
35   --> $DIR/crate-or-module-typo.rs:6:20
36    |
37 LL |     pub fn bar() { bar::baz(); }
38    |                    ^^^ use of undeclared crate or module `bar`
39
40 error: aborting due to 4 previous errors
41
42 Some errors have detailed explanations: E0432, E0433.
43 For more information about an error, try `rustc --explain E0432`.