]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0128.stderr
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0128.stderr
1 error[E0128]: generic parameters with a default cannot use forward declared identifiers
2   --> $DIR/E0128.rs:1:14
3    |
4 LL | struct Foo<T=U, U=()> {
5    |              ^ defaulted generic parameters cannot be forward declared
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0128`.