summaryrefslogtreecommitdiffstats
path: root/src/test/ui/specialization/min_specialization/dyn-trait-assoc-types.stderr
blob: db5558f16be08bc223d672c61f1cb6be8b184f31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: specializing impl repeats parameter `T`
  --> $DIR/dyn-trait-assoc-types.rs:22:1
   |
LL | impl<'a, T> Specializable for dyn B<T, Y = T> + 'a {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: specializing impl repeats parameter `T`
  --> $DIR/dyn-trait-assoc-types.rs:27:1
   |
LL | impl<'a, T> Specializable for dyn C<Y = (T, T)> + 'a {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors