]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/private-struct-field-pattern.stderr
Merge commit '7b73b60faca71d01d900e49831fcb84553e93019' into sync-rustfmt
[rust.git] / src / test / ui / privacy / private-struct-field-pattern.stderr
1 error[E0451]: field `x` of struct `Foo` is private
2   --> $DIR/private-struct-field-pattern.rs:15:15
3    |
4 LL |         Foo { x: _ } => {}
5    |               ^^^^ private field
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0451`.