rust/tests/crashes/126648.rs
2024-06-29 09:33:28 +02:00

9 lines
143 B
Rust

//@ known-bug: rust-lang/rust#126648
struct Outest(*const &'a ());
fn make() -> Outest {}
fn main() {
if let Outest("foo") = make() {}
}