about summary refs log tree commit diff
path: root/tests/ui/use
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/use
parent2ffeb4636b4ae376f716dc4378a7efb37632dc2d (diff)
downloadrust-5453a9f34d21bdd1031d58b68fcd6a92adc82108.tar.gz
rust-5453a9f34d21bdd1031d58b68fcd6a92adc82108.zip
Add a note to duplicate diagnostics
Diffstat (limited to 'tests/ui/use')
-rw-r--r--tests/ui/use/use-super-global-path.stderr2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/use/use-super-global-path.stderr b/tests/ui/use/use-super-global-path.stderr
index 7014a12e9dd..00d172f4799 100644
--- a/tests/ui/use/use-super-global-path.stderr
+++ b/tests/ui/use/use-super-global-path.stderr
@@ -9,6 +9,8 @@ error[E0433]: failed to resolve: global paths cannot start with `super`
    |
 LL |     use ::super::{S, Z};
    |           ^^^^^ global paths cannot start with `super`
+   |
+   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
 
 error[E0433]: failed to resolve: global paths cannot start with `super`
   --> $DIR/use-super-global-path.rs:11:15