]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0071.stderr
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0071.stderr
1 error[E0071]: expected struct, variant or union type, found enum `Foo`
2   --> $DIR/E0071.rs:5:13
3    |
4 LL |     let u = FooAlias { value: 0 };
5    |             ^^^^^^^^ not a struct
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0071`.