9 lines
109 B
Rust
9 lines
109 B
Rust
|
enum Bug<S> {
|
||
|
Var = {
|
||
|
let x: S = 0; //~ ERROR: mismatched types
|
||
|
0
|
||
|
},
|
||
|
}
|
||
|
|
||
|
fn main() {}
|