rust/tests/crashes/124083.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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() {}
}