diff options
| author | Michael Goulet <michael@errs.io> | 2025-02-13 03:21:25 +0000 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2025-02-14 00:44:10 -0800 |
| commit | 6d71251cf9e40326461f90f8ff9a7024706aea87 (patch) | |
| tree | 9632ff91f2996a68f9d9c4ebdb3f3ebf8cfa64f4 /tests/ui/consts/const-pattern-irrefutable.stderr | |
| parent | f6406dfd4efceb6f713e503aecda587304135ed9 (diff) | |
| download | rust-6d71251cf9e40326461f90f8ff9a7024706aea87.tar.gz rust-6d71251cf9e40326461f90f8ff9a7024706aea87.zip | |
Trim suggestion parts to the subset that is purely additive
Diffstat (limited to 'tests/ui/consts/const-pattern-irrefutable.stderr')
| -rw-r--r-- | tests/ui/consts/const-pattern-irrefutable.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/consts/const-pattern-irrefutable.stderr b/tests/ui/consts/const-pattern-irrefutable.stderr index 4fa8caa57ce..06bd01bff79 100644 --- a/tests/ui/consts/const-pattern-irrefutable.stderr +++ b/tests/ui/consts/const-pattern-irrefutable.stderr @@ -13,7 +13,7 @@ LL | let a = 4; help: introduce a variable instead | LL | let a_var = 4; - | ~~~~~ + | ++++ error[E0005]: refutable pattern in local binding --> $DIR/const-pattern-irrefutable.rs:28:9 @@ -48,7 +48,7 @@ LL | let d = (4, 4); help: introduce a variable instead | LL | let d_var = (4, 4); - | ~~~~~ + | ++++ error[E0005]: refutable pattern in local binding --> $DIR/const-pattern-irrefutable.rs:36:9 @@ -70,7 +70,7 @@ LL | struct S { help: introduce a variable instead | LL | let e_var = S { - | ~~~~~ + | ++++ error: aborting due to 4 previous errors |
