mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 14:31:55 +00:00
11 lines
254 B
Rust
11 lines
254 B
Rust
// 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(){}
|
|
//~^ ERROR trait bound `TestDescAndFn: Testable` is not satisfied
|