about summary refs log tree commit diff
path: root/tests/ui/tool-attributes
diff options
context:
space:
mode:
authorAlex Macleod <alex@macleod.io>2023-10-04 18:34:50 +0000
committerAlex Macleod <alex@macleod.io>2023-10-05 01:04:41 +0000
commit5453a9f34d21bdd1031d58b68fcd6a92adc82108 (patch)
tree341eb587ea1a886e92f4104340c1616330753732 /tests/ui/tool-attributes
parent2ffeb4636b4ae376f716dc4378a7efb37632dc2d (diff)
downloadrust-5453a9f34d21bdd1031d58b68fcd6a92adc82108.tar.gz
rust-5453a9f34d21bdd1031d58b68fcd6a92adc82108.zip
Add a note to duplicate diagnostics
Diffstat (limited to 'tests/ui/tool-attributes')
-rw-r--r--tests/ui/tool-attributes/tool-attributes-misplaced-1.stderr2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/tool-attributes/tool-attributes-misplaced-1.stderr b/tests/ui/tool-attributes/tool-attributes-misplaced-1.stderr
index 71fd5f1d44a..2045dc6a36e 100644
--- a/tests/ui/tool-attributes/tool-attributes-misplaced-1.stderr
+++ b/tests/ui/tool-attributes/tool-attributes-misplaced-1.stderr
@@ -9,6 +9,8 @@ error: cannot find derive macro `rustfmt` in this scope
    |
 LL | #[derive(rustfmt)]
    |          ^^^^^^^
+   |
+   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
 
 error: cannot find attribute `rustfmt` in this scope
   --> $DIR/tool-attributes-misplaced-1.rs:9:3