2019-12-12 16:48:46 -06:00
|
|
|
error[E0191]: the value of the associated type `Output` (from trait `Base`) must be specified
|
2021-02-08 16:15:45 -06:00
|
|
|
--> $DIR/with-self-in-projection-output-bad.rs:45:21
|
2018-12-15 16:00:46 -06:00
|
|
|
|
|
|
|
|
LL | type Output;
|
|
|
|
| ------------ `Output` defined here
|
|
|
|
...
|
|
|
|
LL | let _x: Box<dyn Helper<Target=i32>> = Box::new(2u32);
|
2019-12-12 16:48:46 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^ help: specify the associated type: `Helper<Target=i32, Output = Type>`
|
2018-12-15 16:00:46 -06:00
|
|
|
|
2019-12-12 16:48:46 -06:00
|
|
|
error[E0191]: the value of the associated type `Output` (from trait `Base`) must be specified
|
2021-02-08 16:15:45 -06:00
|
|
|
--> $DIR/with-self-in-projection-output-bad.rs:48:21
|
2018-12-17 16:33:21 -06:00
|
|
|
|
|
|
|
|
LL | type Output;
|
|
|
|
| ------------ `Output` defined here
|
|
|
|
...
|
|
|
|
LL | let _y: Box<dyn NormalizableHelper<Target=i32>> = Box::new(2u32);
|
2019-12-12 16:48:46 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: specify the associated type: `NormalizableHelper<Target=i32, Output = Type>`
|
2018-12-17 16:33:21 -06:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2018-12-15 16:00:46 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0191`.
|