We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0aa4d9f commit b7b8eedCopy full SHA for b7b8eed
src/test/ui/span/issue-39018.stderr
@@ -68,16 +68,9 @@ error[E0277]: cannot add `std::string::String` to `std::string::String`
68
--> $DIR/issue-39018.rs:29:15
69
|
70
LL | let _ = a + b;
71
-<<<<<<< HEAD
72
- | ^
73
- | |
74
- | expected `&str`, found struct `std::string::String`
75
- | help: consider borrowing here: `&b`
76
-=======
77
| ^ no implementation for `std::string::String + std::string::String`
78
79
= help: the trait `std::ops::Add` is not implemented for `std::string::String`
80
->>>>>>> e6695f0a886... Edited src/test/ui/span/issue-39018.rs with the error code/string that compiler now produces.
81
82
error[E0369]: binary operation `+` cannot be applied to type `&std::string::String`
83
--> $DIR/issue-39018.rs:30:15
0 commit comments