]> git.proxmox.com Git - rustc.git/blob - src/test/ui/error-codes/E0451.stderr
New upstream version 1.25.0+dfsg1
[rustc.git] / src / test / ui / error-codes / E0451.stderr
1 error[E0451]: field `b` of struct `Bar::Foo` is private
2 --> $DIR/E0451.rs:24:23
3 |
4 24 | let Bar::Foo{a:a, b:b} = foo; //~ ERROR E0451
5 | ^^^ field `b` is private
6
7 error[E0451]: field `b` of struct `Bar::Foo` is private
8 --> $DIR/E0451.rs:28:29
9 |
10 28 | let f = Bar::Foo{ a: 0, b: 0 }; //~ ERROR E0451
11 | ^^^^ field `b` is private
12
13 error: aborting due to 2 previous errors
14