fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `TestDescAndFn: Testable` is not satisfied 2 --> $DIR/mismatch.rs:9:1 3 | 4LL | #[test] 5 | ------- in this procedural macro expansion 6LL | fn wrong_kind(){} 7 | ^^^^^^^^^^^^^^^^^ the trait `Testable` is not implemented for `TestDescAndFn` 8 | 9 = note: required for the cast from `&TestDescAndFn` to `&dyn Testable` 10 = note: this error originates in the attribute macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0277`.