rust/tests/ui/associated-types/associated-types-ICE-when-projecting-out-of-err.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
517 B
Plaintext
Raw Normal View History

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
|
2018-02-23 00:42:32 +00:00
LL | r = r + a;
| ^ the trait `Add<A>` is not implemented for `()`
|
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> {
| ^^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0277`.