about summary refs log tree commit diff
path: root/tests/ui/traits/cast-as-dyn-trait-wo-assoc-type-issue-21950.stderr
blob: 5f4974e6f237da4ce5b4962e1732d82b8404197e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0191]: the value of the associated type `Output` in `Add` must be specified
  --> $DIR/cast-as-dyn-trait-wo-assoc-type-issue-21950.rs:17: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`.