update test -- we now give a slightly different error
This commit is contained in:
parent
0a5f4aebb1
commit
068e3832cd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue