]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/unboxed-closures/unboxed-closure-sugar-wrong-trait.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / unboxed-closures / unboxed-closure-sugar-wrong-trait.rs
index 5e4e180201d6f59fbfcf93a124cdfc56e902bec5..4bcf90552f9067ac3f87fc48a950b67231587037 100644 (file)
@@ -1,19 +1,9 @@
-// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
 #![feature(unboxed_closures)]
 
 trait Trait {}
 
 fn f<F:Trait(isize) -> isize>(x: F) {}
-//~^ ERROR wrong number of type arguments: expected 0, found 1 [E0107]
-//~| ERROR E0220
+//~^ ERROR this trait takes 0 generic arguments but 1 generic argument
+//~| ERROR associated type `Output` not found for `Trait`
 
 fn main() {}