]> git.lizzy.rs Git - rust.git/blob - src/test/ui/custom_test_frameworks/mismatch.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / custom_test_frameworks / mismatch.stderr
1 error[E0277]: the trait bound `test::TestDescAndFn: example_runner::Testable` is not satisfied
2   --> $DIR/mismatch.rs:19:1
3    |
4 LL | fn wrong_kind(){}
5    | ^^^^^^^^^^^^^^^^^ the trait `example_runner::Testable` is not implemented for `test::TestDescAndFn`
6    |
7    = note: required for the cast to the object type `dyn example_runner::Testable`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0277`.