rustc/tests/ui/const-generics/generic_const_exprs/issue-74713.rs
2024-05-08 17:27:53 +02: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() {}