]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/str/str-concat-on-double-ref.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / str / str-concat-on-double-ref.rs
index 23e5f8920622e7247625230d74d10f4fb3e5f16f..e68210d53b7f5a54c822fe2ffbae2784a11b58bf 100644 (file)
@@ -2,6 +2,6 @@ fn main() {
     let a: &String = &"1".to_owned();
     let b: &str = &"2";
     let c = a + b;
-    //~^ ERROR cannot add `&str` to `&std::string::String`
+    //~^ ERROR cannot add `&str` to `&String`
     println!("{:?}", c);
 }