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

12 lines
403 B
Plaintext
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0369]: binary operation `*` cannot be applied to type `&T`
--> $DIR/trait-resolution-in-overloaded-op.rs:18:5
|
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`.