summaryrefslogtreecommitdiffstats
path: root/tests/ui/generic-associated-types/gat-trait-path-missing-lifetime.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/generic-associated-types/gat-trait-path-missing-lifetime.stderr')
-rw-r--r--tests/ui/generic-associated-types/gat-trait-path-missing-lifetime.stderr1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/generic-associated-types/gat-trait-path-missing-lifetime.stderr b/tests/ui/generic-associated-types/gat-trait-path-missing-lifetime.stderr
index 499221637..7f535ec43 100644
--- a/tests/ui/generic-associated-types/gat-trait-path-missing-lifetime.stderr
+++ b/tests/ui/generic-associated-types/gat-trait-path-missing-lifetime.stderr
@@ -25,6 +25,7 @@ note: associated type defined here, with 1 lifetime parameter: `'a`
|
LL | type Y<'a>;
| ^ --
+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
help: add missing lifetime argument
|
LL | fn foo<'a, T1: X<Y<'a> = T1>>(t : T1) -> T1::Y<'a> {