rust-clippy/tests/ui/crashes/ice-7012.rs
Cameron Steffen 7014340d57 Fix ICE
2021-04-03 14:17:58 -05:00

17 lines
214 B
Rust

#![allow(clippy::all)]
enum _MyOption {
None,
Some(()),
}
impl _MyOption {
fn _foo(&self) {
match self {
&Self::Some(_) => {},
_ => {},
}
}
}
fn main() {}