rustc/tests/ui/const-generics/generic_const_exprs/issue-74713.rs
2023-08-02 10:33:26 +02:00

9 lines
165 B
Rust

fn bug<'a>()
where
[(); { //~ ERROR mismatched types
let _: &'a (); //~ ERROR a non-static lifetime is not allowed in a `const`
}]:
{}
fn main() {}