]> git.lizzy.rs Git - rust.git/blob - src/test/ui/import.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / import.stderr
1 error[E0432]: unresolved import `zed::baz`
2   --> $DIR/import.rs:2:5
3    |
4 LL | use zed::baz;
5    |     ^^^^^---
6    |     |    |
7    |     |    help: a similar name exists in the module: `bar`
8    |     no `baz` in `zed`
9
10 error[E0432]: unresolved import `foo`
11   --> $DIR/import.rs:10:9
12    |
13 LL |     use foo;
14    |         ^^^ no `foo` in the root
15
16 error[E0603]: unresolved item import `foo` is private
17   --> $DIR/import.rs:15:10
18    |
19 LL |     zed::foo();
20    |          ^^^ private unresolved item import
21    |
22 note: the unresolved item import `foo` is defined here
23   --> $DIR/import.rs:10:9
24    |
25 LL |     use foo;
26    |         ^^^
27
28 error: aborting due to 3 previous errors
29
30 Some errors have detailed explanations: E0432, E0603.
31 For more information about an error, try `rustc --explain E0432`.