update test -- we now give a slightly different error

This commit is contained in:
Niko Matsakis 2018-02-23 07:34:00 -05:00
parent 0a5f4aebb1
commit 068e3832cd
1 changed files with 0 additions and 3 deletions

View File

@ -15,6 +15,3 @@
#[bench]
fn bar(x: isize) { }
//~^ ERROR mismatched types
//~| expected type `for<'r> fn(&'r mut __test::test::Bencher)`
//~| found type `fn(isize) {bar}`
//~| expected mutable reference, found isize