1 error[E0451]: field `b` of struct `Foo` is private
2 --> $DIR/E0451.rs:14:21
4 LL | let bar::Foo{a, b} = foo;
7 error[E0451]: field `b` of struct `Foo` is private
8 --> $DIR/E0451.rs:18:29
10 LL | let f = bar::Foo{ a: 0, b: 0 };
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0451`.