summaryrefslogtreecommitdiffstats
path: root/tests/ui/custom_test_frameworks/mismatch.rs
blob: ac850552b5bd4c7c9f2a20932ea2ac6dff39e0a0 (plain)
1
2
3
4
5
6
7
8
9
10
// 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