9 lines
170 B
Rust
Raw Normal View History

2022-07-12 14:21:09 +09:00
fn bug<'a>()
where
[(); { //~ ERROR mismatched types
2023-05-05 21:42:51 +01:00
let _: &'a (); //~ ERROR generic parameters may not be used in const operations
2022-07-12 14:21:09 +09:00
}]:
{}
fn main() {}