rust/src/test/ui/custom_test_frameworks/mismatch.rs

11 lines
276 B
Rust
Raw Normal View History

2018-07-20 20:04:02 -05:00
// aux-build:example_runner.rs
// compile-flags:--test
#![feature(custom_test_frameworks)]
#![test_runner(example_runner::runner)]
extern crate example_runner;
#[test]
fn wrong_kind(){}
2018-11-27 03:56:36 -06:00
//~^ ERROR trait bound `test::TestDescAndFn: example_runner::Testable` is not satisfied