3 #![feature(if_let_guard)]
4 #[allow(unused_must_use)]
7 fn print_error_count(registry: &Registry) {
10 Registry if let _ = registry.try_find_description() => { }
11 //~^ WARNING: irrefutable `if let` guard pattern
19 pub fn try_find_description(&self) {