summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/usefulness/refutable-pattern-in-fn-arg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/pattern/usefulness/refutable-pattern-in-fn-arg.rs')
-rw-r--r--tests/ui/pattern/usefulness/refutable-pattern-in-fn-arg.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/pattern/usefulness/refutable-pattern-in-fn-arg.rs b/tests/ui/pattern/usefulness/refutable-pattern-in-fn-arg.rs
index 17dc38ab2..4203dd94d 100644
--- a/tests/ui/pattern/usefulness/refutable-pattern-in-fn-arg.rs
+++ b/tests/ui/pattern/usefulness/refutable-pattern-in-fn-arg.rs
@@ -1,6 +1,6 @@
fn main() {
let f = |3: isize| println!("hello");
//~^ ERROR refutable pattern in function argument
- //~| `_` not covered
+ //~| `..=2_isize` and `4_isize..` not covered
f(4);
}