rust/src/test/ui/error-codes/E0128.stderr

9 lines
274 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0128]: type parameters with a default cannot use forward declared identifiers
--> $DIR/E0128.rs:11:14
|
11 | struct Foo<T=U, U=()> { //~ ERROR E0128
| ^ defaulted type parameters cannot be forward declared
error: aborting due to previous error