rust/tests/ui/resolve/issue-114433-invalid-unused-qualifications-suggestion.rs

11 lines
159 B
Rust
Raw Normal View History

#![deny(unused_qualifications)]
// check-pass
fn bar() {
match Option::<Option<()>>::None {
Some(v) => {}
None => {}
}
}
fn main() {}