]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-88472.stderr
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / resolve / issue-88472.stderr
1 error[E0412]: cannot find type `Foo` in this scope
2   --> $DIR/issue-88472.rs:16:16
3    |
4 LL |     type Bar = Foo;
5    |                ^^^ not found in this scope
6    |
7 note: struct `a::Foo` exists but is inaccessible
8   --> $DIR/issue-88472.rs:8:5
9    |
10 LL |     struct Foo;
11    |     ^^^^^^^^^^^ not accessible
12
13 error[E0412]: cannot find type `Eee` in this scope
14   --> $DIR/issue-88472.rs:33:16
15    |
16 LL |     type Baz = Eee;
17    |                ^^^ not found in this scope
18    |
19 note: these enums exist but are inaccessible
20   --> $DIR/issue-88472.rs:22:5
21    |
22 LL |     enum Eee {}
23    |     ^^^^^^^^ `c::Eee`: not accessible
24 ...
25 LL |         enum Eee {}
26    |         ^^^^^^^^ `c::d::Eee`: not accessible
27
28 warning: unused import: `crate::a::*`
29   --> $DIR/issue-88472.rs:14:9
30    |
31 LL |     use crate::a::*;
32    |         ^^^^^^^^^^^
33    |
34 note: the lint level is defined here
35   --> $DIR/issue-88472.rs:4:9
36    |
37 LL | #![warn(unused_imports)]
38    |         ^^^^^^^^^^^^^^
39
40 error: aborting due to 2 previous errors; 1 warning emitted
41
42 For more information about this error, try `rustc --explain E0412`.