rust/tests/ui/crashes/ice-7012.rs

18 lines
214 B
Rust
Raw Normal View History

2021-04-02 11:56:32 -05:00
#![allow(clippy::all)]
enum _MyOption {
None,
Some(()),
}
impl _MyOption {
fn _foo(&self) {
match self {
&Self::Some(_) => {},
_ => {},
}
}
}
fn main() {}