]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/generic-type-params-name-repr.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / generic-type-params-name-repr.rs
index a452cd35f943fc4484b588d121e2ca9cb5538f29..adf9a98a05c2d5dc32f8e71d303dac9b403cc47e 100644 (file)
@@ -38,13 +38,13 @@ fn main() {
     // Including cases where the default is using previous type params.
     let _: HashMap<String, isize> = ();
     //~^ ERROR mismatched types
-    //~| expected `HashMap<collections::string::String, isize>`
+    //~| expected `HashMap<std::string::String, isize>`
     //~| found `()`
     //~| expected struct `HashMap`
     //~| found ()
     let _: HashMap<String, isize, Hash<String>> = ();
     //~^ ERROR mismatched types
-    //~| expected `HashMap<collections::string::String, isize>`
+    //~| expected `HashMap<std::string::String, isize>`
     //~| found `()`
     //~| expected struct `HashMap`
     //~| found ()