rust/tests/target/issue_5668.rs
2023-01-23 12:55:02 -05:00

9 lines
142 B
Rust

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