]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0191.stderr
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0191.stderr
1 error[E0191]: the value of the associated type `Bar` (from trait `Trait`) must be specified
2   --> $DIR/E0191.rs:5:16
3    |
4 LL |     type Bar;
5    |     --------- `Bar` defined here
6 ...
7 LL | type Foo = dyn Trait;
8    |                ^^^^^ help: specify the associated type: `Trait<Bar = Type>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0191`.