@@ -10,6 +10,52 @@ note: erroneous constant encountered
1010LL | &<A<T> as Foo<T>>::BAR
1111 | ^^^^^^^^^^^^^^^^^^^^^
1212
13+ note: erroneous constant encountered
14+ --> $DIR/issue-50814-2.rs:20:5
15+ |
16+ LL | &<A<T> as Foo<T>>::BAR
17+ | ^^^^^^^^^^^^^^^^^^^^^^
18+
19+ note: erroneous constant encountered
20+ --> $DIR/issue-50814-2.rs:20:5
21+ |
22+ LL | &<A<T> as Foo<T>>::BAR
23+ | ^^^^^^^^^^^^^^^^^^^^^^
24+ |
25+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
26+
27+ note: erroneous constant encountered
28+ --> $DIR/issue-50814-2.rs:20:5
29+ |
30+ LL | &<A<T> as Foo<T>>::BAR
31+ | ^^^^^^^^^^^^^^^^^^^^^^
32+ |
33+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
34+
35+ note: erroneous constant encountered
36+ --> $DIR/issue-50814-2.rs:20:5
37+ |
38+ LL | &<A<T> as Foo<T>>::BAR
39+ | ^^^^^^^^^^^^^^^^^^^^^^
40+ |
41+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
42+
43+ note: erroneous constant encountered
44+ --> $DIR/issue-50814-2.rs:20:6
45+ |
46+ LL | &<A<T> as Foo<T>>::BAR
47+ | ^^^^^^^^^^^^^^^^^^^^^
48+ |
49+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
50+
51+ note: erroneous constant encountered
52+ --> $DIR/issue-50814-2.rs:20:6
53+ |
54+ LL | &<A<T> as Foo<T>>::BAR
55+ | ^^^^^^^^^^^^^^^^^^^^^
56+ |
57+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
58+
1359error: aborting due to 1 previous error
1460
1561For more information about this error, try `rustc --explain E0080`.
0 commit comments