diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-11-01 14:12:27 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-01 14:12:27 +0530 |
| commit | 09f4f7c8f0b0e11c7bdf35e73bb22f90e58b1ca4 (patch) | |
| tree | 1264259b24a4d004526b5c57b1330388d2d94933 /src/test/ui/error-codes | |
| parent | 20528baac4f676c8cbc969ab390e12d8039711aa (diff) | |
| parent | abc1ad71062dd8e2b7ae97ada736f2d0c0b2344e (diff) | |
| download | rust-09f4f7c8f0b0e11c7bdf35e73bb22f90e58b1ca4.tar.gz rust-09f4f7c8f0b0e11c7bdf35e73bb22f90e58b1ca4.zip | |
Rollup merge of #103759 - cjgillot:adt-collect, r=davidtwco
Use `adt_def` during type collection. This removes a wrapper which is close to what `adt_def` does.
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0081.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/error-codes/E0081.stderr b/src/test/ui/error-codes/E0081.stderr index 64562fefc86..d4b21f6893b 100644 --- a/src/test/ui/error-codes/E0081.stderr +++ b/src/test/ui/error-codes/E0081.stderr @@ -32,7 +32,7 @@ LL | First = -1, | -- `-1` assigned here LL | LL | Second = -2, - | ----------- discriminant for `Last` incremented from this startpoint (`Second` + 1 variant later => `Last` = -1) + | ------ discriminant for `Last` incremented from this startpoint (`Second` + 1 variant later => `Last` = -1) LL | LL | Last, | ---- `-1` assigned here @@ -53,7 +53,7 @@ LL | V4 = 0, | - `0` assigned here LL | LL | V5 = -2, - | ------- discriminant for `V7` incremented from this startpoint (`V5` + 2 variants later => `V7` = 0) + | -- discriminant for `V7` incremented from this startpoint (`V5` + 2 variants later => `V7` = 0) ... LL | V7, | -- `0` assigned here @@ -68,7 +68,7 @@ LL | V5 = -2, | -- `-2` assigned here ... LL | V8 = -3, - | ------- discriminant for `V9` incremented from this startpoint (`V8` + 1 variant later => `V9` = -2) + | -- discriminant for `V9` incremented from this startpoint (`V8` + 1 variant later => `V9` = -2) LL | LL | V9, | -- `-2` assigned here |
