about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorCorey Richardson <corey@octayn.net>2014-03-18 09:20:30 -0400
committerAlex Crichton <alex@alexcrichton.com>2014-03-18 13:47:50 -0700
commit873f7408bdffdb05b23f77aa343abd05f2e3126c (patch)
tree4fe3d6d69bf02851c1fb9aa188fa2b504150c444 /src/rustllvm/ExecutionEngineWrapper.cpp
parentf9e0baa19a33c2b98f502d9604dabacd8f634965 (diff)
downloadrust-873f7408bdffdb05b23f77aa343abd05f2e3126c.tar.gz
rust-873f7408bdffdb05b23f77aa343abd05f2e3126c.zip
rustc: test: don't silently ignore bad benches
This is adequate because when a function has a type that isn't caught here,
that is, it has a single argument, but it *isn't* `&mut BenchHarness`, it
errors later on with:

     error: mismatched types: expected `fn(&mut test::BenchHarness)` but found
     `fn(int)` (expected &-ptr but found int)

which I consider acceptable.

Closes #12997
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions