Skip to content

Commit

Permalink
update test -- we now give a slightly different error
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Feb 23, 2018
1 parent 0a5f4ae commit 068e383
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/test/compile-fail/issue-12997-2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 068e383

Please sign in to comment.