rust/src/test/ui/enum/issue-67945-1.rs

9 lines
109 B
Rust
Raw Normal View History

2020-05-06 12:14:05 -05:00
enum Bug<S> {
Var = {
let x: S = 0; //~ ERROR: mismatched types
0
},
}
fn main() {}