fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0451]: field `b` of struct `bar::Foo` is private 2 --> $DIR/E0451.rs:14:21 3 | 4LL | let bar::Foo{a, b} = foo; 5 | ^ field `b` is private 6 7error[E0451]: field `b` of struct `bar::Foo` is private 8 --> $DIR/E0451.rs:18:29 9 | 10LL | let f = bar::Foo{ a: 0, b: 0 }; 11 | ^^^^ field `b` is private 12 13error: aborting due to 2 previous errors 14 15For more information about this error, try `rustc --explain E0451`.