rust/tests/crashes/124083.rs
2024-04-19 23:09:37 +02:00

10 lines
123 B
Rust

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