about summary refs log tree commit diff
path: root/tests/ui/associated-types/associated-type-shadowed-from-supertrait.stderr
blob: e6cec255eeef8efeff7a6b6e62df70cea31527cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0191]: the value of the associated type `X` in `Super` must be specified
  --> $DIR/associated-type-shadowed-from-supertrait.rs:12:27
   |
LL |     type X;
   |     ------ `Super::X` defined here, consider renaming it
...
LL |     type X;
   |     ------ `Super::X` shadowed here, consider renaming it
...
LL | impl<T> Clone for Box<dyn Sub<X = T>> {
   |                           ^^^^^^^^^^ associated type `X` must be specified

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0191`.