1 2 3 4 5 6 7 8 9 10
#![deny(unused_qualifications)] // check-pass fn bar() { match Option::<Option<()>>::None { Some(v) => {} None => {} } } fn main() {}