]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0164.stderr
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0164.stderr
1 error[E0164]: expected tuple struct or tuple variant, found associated constant `Foo::B`
2   --> $DIR/E0164.rs:9:9
3    |
4 LL |         Foo::B(i) => i,
5    |         ^^^^^^^^^ not a tuple variant or struct
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0164`.