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-02-19 21:40:25 +01:00
|
|
|
If you want more information on this error, try using "rustc --explain E0369"
|