rust/src/test/ui/str-concat-on-double-ref.stderr

11 lines
318 B
Plaintext
Raw Normal View History

error[E0369]: binary operation `+` cannot be applied to type `&std::string::String`
--> $DIR/str-concat-on-double-ref.rs:14:13
|
14 | let c = a + b;
| ^^^^^
|
= note: an implementation of `std::ops::Add` might be missing for `&std::string::String`
error: aborting due to previous error