]> git.proxmox.com Git - rustc.git/blob - src/test/ui/error-codes/E0451.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / error-codes / E0451.stderr
1 error[E0451]: field `b` of struct `Foo` is private
2 --> $DIR/E0451.rs:14:21
3 |
4 LL | let bar::Foo{a, b} = foo;
5 | ^ private field
6
7 error[E0451]: field `b` of struct `Foo` is private
8 --> $DIR/E0451.rs:18:29
9 |
10 LL | let f = bar::Foo{ a: 0, b: 0 };
11 | ^^^^ private field
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0451`.