rust/tests/target/issue_5668.rs

9 lines
142 B
Rust

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