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/limits | |
| parent | 2ffeb4636b4ae376f716dc4378a7efb37632dc2d (diff) | |
| download | rust-5453a9f34d21bdd1031d58b68fcd6a92adc82108.tar.gz rust-5453a9f34d21bdd1031d58b68fcd6a92adc82108.zip | |
Add a note to duplicate diagnostics
Diffstat (limited to 'tests/ui/limits')
| -rw-r--r-- | tests/ui/limits/issue-55878.stderr | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/limits/issue-55878.stderr b/tests/ui/limits/issue-55878.stderr index 93716c0b347..6b463930b00 100644 --- a/tests/ui/limits/issue-55878.stderr +++ b/tests/ui/limits/issue-55878.stderr @@ -25,6 +25,7 @@ note: erroneous constant encountered LL | println!("Size: {}", std::mem::size_of::<[u8; u64::MAX as usize]>()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | + = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no` = note: this note originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to previous error |
