fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0603]: struct `Foo` is private 2 --> $DIR/issue-13641.rs:9:8 3 | 4LL | a::Foo::new(); 5 | ^^^ private struct 6 | 7note: the struct `Foo` is defined here 8 --> $DIR/issue-13641.rs:2:5 9 | 10LL | struct Foo; 11 | ^^^^^^^^^^^ 12 13error[E0603]: enum `Bar` is private 14 --> $DIR/issue-13641.rs:11:8 15 | 16LL | a::Bar::new(); 17 | ^^^ private enum 18 | 19note: the enum `Bar` is defined here 20 --> $DIR/issue-13641.rs:4:5 21 | 22LL | enum Bar {} 23 | ^^^^^^^^ 24 25error: aborting due to 2 previous errors 26 27For more information about this error, try `rustc --explain E0603`.