about summary refs log tree commit diff
path: root/tests/ui/impl-trait/associated-type-cycle.stderr
blob: 7eef8d1e33893326e4148052272aa2607f897ae0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0191]: the value of the associated type `Bar` in `Foo` must be specified
  --> $DIR/associated-type-cycle.rs:6:22
   |
LL |     type Bar;
   |     -------- `Bar` defined here
...
LL | impl Foo for Box<dyn Foo> {
   |                      ^^^ help: specify the associated type: `Foo<Bar = Type>`

error: aborting due to 1 previous error

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