rust/tests/ui/issues/issue-21950.stderr

13 lines
422 B
Plaintext

error[E0191]: the value of the associated type `Output` in `Add` must be specified
--> $DIR/issue-21950.rs:10:25
|
LL | type Output;
| ----------- `Output` defined here
...
LL | let x = &10 as &dyn Add;
| ^^^ help: specify the associated type: `Add<Output = Type>`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0191`.