fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
569 B12 linesraw
1error[E0277]: the trait bound `test::TestDescAndFn: example_runner::Testable` is not satisfied
2  --> $DIR/mismatch.rs:9:1
3   |
4LL | 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   = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0277`.