fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0449]: visibility qualifiers are not permitted here 2 --> $DIR/issue-28433.rs:2:5 3 | 4LL | pub Duck, 5 | ^^^ 6 | 7 = note: enum variants and their fields always share the visibility of the enum they are in 8 9error[E0449]: visibility qualifiers are not permitted here 10 --> $DIR/issue-28433.rs:5:5 11 | 12LL | pub(crate) Dove 13 | ^^^^^^^^^^ 14 | 15 = note: enum variants and their fields always share the visibility of the enum they are in 16 17error: aborting due to 2 previous errors 18 19For more information about this error, try `rustc --explain E0449`.