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

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

11 lines
160 B
Rust
Raw Normal View History

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