]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/crate-or-module-typo.stderr
Rollup merge of #99079 - compiler-errors:issue-99073, r=oli-obk
[rust.git] / src / test / 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 `bar`
24   --> $DIR/crate-or-module-typo.rs:6:20
25    |
26 LL |     pub fn bar() { bar::baz(); }
27    |                    ^^^ use of undeclared crate or module `bar`
28
29 error[E0433]: failed to resolve: use of undeclared crate or module `st`
30   --> $DIR/crate-or-module-typo.rs:14:10
31    |
32 LL |     bar: st::cell::Cell<bool>
33    |          ^^ use of undeclared crate or module `st`
34    |
35 help: there is a crate or module with a similar name
36    |
37 LL |     bar: std::cell::Cell<bool>
38    |          ~~~
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`.