blob: 22f1e200e29c24864f3c28161049612d8b8e694e (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0128]: generic parameter defaults cannot reference parameters before they are declared
--> $DIR/E0128.rs:1:14
|
LL | struct Foo<T=U, U=()> {
| ^ cannot reference `U` before it is declared
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0128`.
|