2018-04-20 15:11:28 +00:00
|
|
|
error[E0277]: the trait bound `(): Add<A>` is not satisfied
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/associated-types-ICE-when-projecting-out-of-err.rs:23:11
|
2017-12-10 19:47:55 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | r = r + a;
|
2018-04-20 15:11:28 +00:00
|
|
|
| ^ the trait `Add<A>` is not implemented for `()`
|
2023-09-10 03:33:07 +00:00
|
|
|
|
|
|
|
|
help: this trait has no implementations, consider adding one
|
|
|
|
--> $DIR/associated-types-ICE-when-projecting-out-of-err.rs:15:1
|
|
|
|
|
|
|
|
|
LL | trait Add<RHS=Self> {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
2017-12-10 19:47:55 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2017-12-10 19:47:55 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0277`.
|