]> 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 04bbfc445edeaab920911845a249d8f4a30d7220..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 E0244
+//~| NOTE expected no type arguments, found 1
 //~| ERROR associated type `Output` not found
 
 fn main() {}