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