fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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