]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0437.stderr
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0437.stderr
1 error[E0437]: type `Bar` is not a member of trait `Foo`
2   --> $DIR/E0437.rs:4:5
3    |
4 LL |     type Bar = bool;
5    |     ^^^^^^^^^^^^^^^^ not a member of trait `Foo`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0437`.