diff options
| author | Alex Macleod <alex@macleod.io> | 2023-10-04 18:34:50 +0000 |
|---|---|---|
| committer | Alex Macleod <alex@macleod.io> | 2023-10-05 01:04:41 +0000 |
| commit | 5453a9f34d21bdd1031d58b68fcd6a92adc82108 (patch) | |
| tree | 341eb587ea1a886e92f4104340c1616330753732 /tests/ui/tuple | |
| parent | 2ffeb4636b4ae376f716dc4378a7efb37632dc2d (diff) | |
| download | rust-5453a9f34d21bdd1031d58b68fcd6a92adc82108.tar.gz rust-5453a9f34d21bdd1031d58b68fcd6a92adc82108.zip | |
Add a note to duplicate diagnostics
Diffstat (limited to 'tests/ui/tuple')
| -rw-r--r-- | tests/ui/tuple/tuple-struct-fields/test2.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/tuple/tuple-struct-fields/test3.stderr | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/tuple/tuple-struct-fields/test2.stderr b/tests/ui/tuple/tuple-struct-fields/test2.stderr index 64a9ac13566..784411aba8f 100644 --- a/tests/ui/tuple/tuple-struct-fields/test2.stderr +++ b/tests/ui/tuple/tuple-struct-fields/test2.stderr @@ -22,6 +22,8 @@ error[E0412]: cannot find type `foo` in this scope | LL | define_struct! { (foo) } | ^^^ not found in this scope + | + = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no` error: aborting due to 3 previous errors diff --git a/tests/ui/tuple/tuple-struct-fields/test3.stderr b/tests/ui/tuple/tuple-struct-fields/test3.stderr index 75262ed5780..00b07c03152 100644 --- a/tests/ui/tuple/tuple-struct-fields/test3.stderr +++ b/tests/ui/tuple/tuple-struct-fields/test3.stderr @@ -22,6 +22,8 @@ error[E0412]: cannot find type `foo` in this scope | LL | define_struct! { foo } | ^^^ not found in this scope + | + = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no` error: aborting due to 3 previous errors |
