about summary refs log tree commit diff
path: root/tests/ui/dyn-compatibility/require-assoc-for-all-super-substs.stderr
blob: 3d89b52d522db39283df5124458e32de80ffc1e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0191]: the value of the associated type `Assoc` in `Sup<u32>` must be specified
  --> $DIR/require-assoc-for-all-super-substs.rs:13:17
   |
LL |     type Assoc: Default;
   |     ------------------- `Assoc` defined here
...
LL |     let q: <dyn Dyn<i32, u32> as Sup<u32>>::Assoc = Default::default();
   |                 ^^^^^^^^^^^^^ help: specify the associated type: `Dyn<i32, u32, Assoc = Type>`

error: aborting due to 1 previous error

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