rust/src/test/ui/traits/trait-resolution-in-overloaded-op.stderr

12 lines
402 B
Plaintext
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0369]: binary operation `*` cannot be applied to type `&T`
2018-12-25 08:56:47 -07:00
--> $DIR/trait-resolution-in-overloaded-op.rs:8:5
2018-08-08 14:28:26 +02:00
|
LL | a * b //~ ERROR binary operation `*` cannot be applied to type `&T`
| ^^^^^
|
= note: an implementation of `std::ops::Mul` might be missing for `&T`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0369`.