]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #35492 - jonathandturner:fix_nightlies, r=arielb1
authorbors <bors@rust-lang.org>
Mon, 8 Aug 2016 18:17:05 +0000 (11:17 -0700)
committerGitHub <noreply@github.com>
Mon, 8 Aug 2016 18:17:05 +0000 (11:17 -0700)
Fix for nightlies

Remove the NOTE tests for now so that nightlies will pass. We'll move many of these tests to UI tests later, as this is a better place to check the notes.

cc @alexcrichton

src/test/compile-fail/issue-23024.rs

index 50f1323d39c557bc0ef7494eb6d9651d7d6d8821..e266f004317e7f46d1adb52b8bb96498bc56acad 100644 (file)
@@ -19,10 +19,5 @@ fn h(x:i32) -> i32 {3*x}
     println!("{:?}",(vfnfer[0] as Fn)(3));
     //~^ ERROR the precise format of `Fn`-family traits'
     //~| ERROR E0243
-    //~| NOTE expected 1 type arguments, found 0
     //~| ERROR the value of the associated type `Output` (from the trait `std::ops::FnOnce`)
-    //~| NOTE in this expansion of println!
-    //~| NOTE in this expansion of println!
-    //~| NOTE in this expansion of println!
-    //~| NOTE in this expansion of println!
 }