]> git.lizzy.rs Git - rust.git/blob - src/test/ui/custom_test_frameworks/mismatch.rs
Rollup merge of #100490 - lcnr:wf-consts, r=jackh726
[rust.git] / src / test / ui / custom_test_frameworks / mismatch.rs
1 // aux-build:example_runner.rs
2 // compile-flags:--test
3 #![feature(custom_test_frameworks)]
4 #![test_runner(example_runner::runner)]
5
6 extern crate example_runner;
7
8 #[test]
9 fn wrong_kind(){}
10 //~^ ERROR trait bound `TestDescAndFn: Testable` is not satisfied