]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0610.stderr
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0610.stderr
1 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
2   --> $DIR/E0610.rs:3:15
3    |
4 LL |     let _ = x.foo;
5    |               ^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0610`.