2020-09-02 02:40:56 -05:00
|
|
|
error[E0277]: the trait bound `TestDescAndFn: Testable` is not satisfied
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/mismatch.rs:9:1
|
2018-07-20 20:04:02 -05:00
|
|
|
|
|
2021-07-17 13:13:50 -05:00
|
|
|
LL | #[test]
|
|
|
|
| ------- in this procedural macro expansion
|
2018-07-20 20:04:02 -05:00
|
|
|
LL | fn wrong_kind(){}
|
2020-09-02 02:40:56 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^ the trait `Testable` is not implemented for `TestDescAndFn`
|
2018-07-20 20:04:02 -05:00
|
|
|
|
|
2023-05-10 21:10:56 -05:00
|
|
|
= note: required for the cast from `&TestDescAndFn` to `&dyn Testable`
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the attribute macro `test` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-07-20 20:04:02 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2018-07-20 20:04:02 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|