]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-21950.stderr
Rollup merge of #53257 - faern:ip-method-idiomatic-improvement, r=TimNN
[rust.git] / src / test / ui / issues / issue-21950.stderr
1 error[E0393]: the type parameter `RHS` must be explicitly specified
2   --> $DIR/issue-21950.rs:17:14
3    |
4 LL |             &Add;
5    |              ^^^ missing reference to `RHS`
6    |
7    = note: because of the default `Self` reference, type parameters must be specified on object types
8
9 error[E0191]: the value of the associated type `Output` (from the trait `std::ops::Add`) must be specified
10   --> $DIR/issue-21950.rs:17:14
11    |
12 LL |             &Add;
13    |              ^^^ missing associated type `Output` value
14
15 error: aborting due to 2 previous errors
16
17 Some errors occurred: E0191, E0393.
18 For more information about an error, try `rustc --explain E0191`.