We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c951aa8 commit c33fc5aCopy full SHA for c33fc5a
tests/ui/map_err.rs
@@ -22,5 +22,9 @@ fn main() -> Result<(), Errors> {
22
23
println!("{:?}", x.map_err(|_| Errors::Ignored));
24
25
+ // Should not warn you because you explicitly ignore the parameter
26
+ // using a named wildcard value
27
+ println!("{:?}", x.map_err(|_foo| Errors::Ignored));
28
+
29
Ok(())
30
}
0 commit comments