]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-13641.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-13641.stderr
1 error[E0603]: struct `Foo` is private
2 --> $DIR/issue-13641.rs:9:8
3 |
4 LL | a::Foo::new();
5 | ^^^ private struct
6 |
7 note: the struct `Foo` is defined here
8 --> $DIR/issue-13641.rs:2:5
9 |
10 LL | struct Foo;
11 | ^^^^^^^^^^^
12
13 error[E0603]: enum `Bar` is private
14 --> $DIR/issue-13641.rs:11:8
15 |
16 LL | a::Bar::new();
17 | ^^^ private enum
18 |
19 note: the enum `Bar` is defined here
20 --> $DIR/issue-13641.rs:4:5
21 |
22 LL | enum Bar {}
23 | ^^^^^^^^
24
25 error: aborting due to 2 previous errors
26
27 For more information about this error, try `rustc --explain E0603`.