]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-47377.stderr
Rollup merge of #60492 - acrrd:issues/54054_chain, r=SimonSapin
[rust.git] / src / test / ui / issues / issue-47377.stderr
index 88466131e3144db988a478ad59b6dafd21d7b8b9..7d11a8c8021283fc54c8c3c89e5ca281a5bbe6f7 100644 (file)
@@ -4,7 +4,7 @@ error[E0369]: binary operation `+` cannot be applied to type `&str`
 LL |      let _a = b + ", World!";
    |               - ^ ---------- &str
    |               | |
-   |               | `+` can't be used to concatenate two `&str` strings
+   |               | `+` cannot be used to concatenate two `&str` strings
    |               &str
 help: `to_owned()` can be used to create an owned `String` from a string reference. String concatenation appends the string on the right to the string on the left and may require reallocation. This requires ownership of the string on the left
    |