]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/generic/generic-type-params-name-repr.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / generic / generic-type-params-name-repr.rs
index 45dc85a252f40f76518adc0d9836736615fdce57..6e0beec66340295a924dbe4bd9a59d020decbb95 100644 (file)
@@ -27,12 +27,12 @@ fn main() {
     let _: HashMap<String, isize> = ();
     //~^ ERROR mismatched types
     //~| expected struct `HashMap`, found `()`
-    //~| expected struct `HashMap<std::string::String, isize>`
+    //~| expected struct `HashMap<String, isize>`
     //~| found unit type `()`
     let _: HashMap<String, isize, Hash<String>> = ();
     //~^ ERROR mismatched types
     //~| expected struct `HashMap`, found `()`
-    //~| expected struct `HashMap<std::string::String, isize>`
+    //~| expected struct `HashMap<String, isize>`
     //~| found unit type `()`
 
     // But not when there's a different type in between.