rust/tests/crashes/124083.rs

10 lines
123 B
Rust
Raw Normal View History

2024-04-19 15:23:17 -05:00
//@ known-bug: #124083
struct Outest(&'a ());
fn make() -> Outest {}
fn main() {
if let Outest("foo") = make() {}
}