]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0559.stderr
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0559.stderr
1 error[E0559]: variant `Field::Fool` has no field named `joke`
2   --> $DIR/E0559.rs:6:27
3    |
4 LL |     let s = Field::Fool { joke: 0 };
5    |                           ^^^^ `Field::Fool` does not have this field
6    |
7    = note: available fields are: `x`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0559`.