diff options
Diffstat (limited to 'src/test/ui/const-pattern-irrefutable.stderr')
| -rw-r--r-- | src/test/ui/const-pattern-irrefutable.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/const-pattern-irrefutable.stderr b/src/test/ui/const-pattern-irrefutable.stderr index 1f23eec43ef..af48b773638 100644 --- a/src/test/ui/const-pattern-irrefutable.stderr +++ b/src/test/ui/const-pattern-irrefutable.stderr @@ -2,19 +2,19 @@ error[E0005]: refutable pattern in local binding: `_` not covered --> $DIR/const-pattern-irrefutable.rs:22:9 | 22 | let a = 4; //~ ERROR refutable pattern in local binding: `_` not covered - | ^ pattern `_` not covered + | ^ interpreted as a constant pattern, not new variable error[E0005]: refutable pattern in local binding: `_` not covered --> $DIR/const-pattern-irrefutable.rs:23:9 | 23 | let c = 4; //~ ERROR refutable pattern in local binding: `_` not covered - | ^ pattern `_` not covered + | ^ interpreted as a constant pattern, not new variable error[E0005]: refutable pattern in local binding: `_` not covered --> $DIR/const-pattern-irrefutable.rs:24:9 | 24 | let d = 4; //~ ERROR refutable pattern in local binding: `_` not covered - | ^ pattern `_` not covered + | ^ interpreted as a constant pattern, not new variable error: aborting due to 3 previous errors |
