2023-05-05 21:42:54 +01:00

9 lines
170 B
Rust

fn bug<'a>()
where
[(); { //~ ERROR mismatched types
let _: &'a (); //~ ERROR generic parameters may not be used in const operations
}]:
{}
fn main() {}