fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0449]: unnecessary visibility qualifier 2 --> $DIR/issue-29161.rs:5:9 3 | 4LL | pub fn default() -> A { 5 | ^^^ `pub` not permitted here because it's implied 6 7error[E0603]: struct `A` is private 8 --> $DIR/issue-29161.rs:13:8 9 | 10LL | a::A::default(); 11 | ^ 12 13error: aborting due to 2 previous errors 14 15Some errors have detailed explanations: E0449, E0603. 16For more information about an error, try `rustc --explain E0449`.