2017-12-10 22:47:55 +03:00
|
|
|
error[E0369]: binary operation `+` cannot be applied to type `&std::string::String`
|
|
|
|
--> $DIR/str-concat-on-double-ref.rs:14:13
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | let c = a + b;
|
2017-12-10 22:47:55 +03:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= note: an implementation of `std::ops::Add` might be missing for `&std::string::String`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0369`.
|