]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/pattern/usefulness/refutable-pattern-in-fn-arg.stderr
Rollup merge of #80298 - PankajChaudhary5:PankajChaudhary, r=GuillaumeGomez
[rust.git] / src / test / ui / pattern / usefulness / refutable-pattern-in-fn-arg.stderr
index 8666e6bb73ebf3e741388bfb83c31fc7305e5820..c9d8cf43f95fdb1fd0ae4176d4633f76e9b8d980 100644 (file)
@@ -3,6 +3,8 @@ error[E0005]: refutable pattern in function argument: `_` not covered
    |
 LL |     let f = |3: isize| println!("hello");
    |              ^ pattern `_` not covered
+   |
+   = note: the matched value is of type `isize`
 
 error: aborting due to previous error