rust/tests/ui/error-codes/E0128.rs

8 lines
87 B
Rust

struct Foo<T=U, U=()> { //~ ERROR E0128
field1: T,
field2: U,
}
fn main() {
}