rust/tests/ui/const-generics/generic_const_exprs/issue-74713.rs
2023-01-11 09:32:08 +00: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() {}