rust/tests/target/issue_5668.rs

9 lines
142 B
Rust
Raw Normal View History

type Foo = impl Send;
struct Struct<
const C: usize = {
let _: Foo = ();
//~^ ERROR: mismatched types
0
},
>;