]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/unboxed-closure-sugar-wrong-trait.rs
New upstream version 1.12.0+dfsg1
[rustc.git] / src / test / compile-fail / unboxed-closure-sugar-wrong-trait.rs
index e6e18d996b9e2e7adce47d19f41e49daa46c2204..1209757610251cd8477b890325a24bdaf7727b2a 100644 (file)
@@ -13,7 +13,8 @@
 trait Trait {}
 
 fn f<F:Trait(isize) -> isize>(x: F) {}
-//~^ ERROR wrong number of type arguments: expected 0, found 1
-//~| ERROR no associated type `Output`
+//~^ ERROR E0244
+//~| NOTE expected no type arguments, found 1
+//~| ERROR associated type `Output` not found
 
 fn main() {}