]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/type/type-parameter-names.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / type / type-parameter-names.rs
index b6b3795d09bfb7ad5b7f3ccc542a42393bc795b9..b54a3fae0c1a14c01f2dc1c412c9440759dd6ba0 100644 (file)
@@ -4,9 +4,9 @@
 fn foo<Foo, Bar>(x: Foo) -> Bar {
     x
 //~^ ERROR mismatched types
-//~| expected type `Bar`
-//~| found type `Foo`
-//~| expected type parameter, found a different type parameter
+//~| expected type parameter `Bar`, found type parameter `Foo`
+//~| expected type parameter `Bar`
+//~| found type parameter `Foo`
 }
 
 fn main() {}