custom_test_frameworks doesn't work with plain functions #65210
Labels
A-libtest
Area: #[test] related
C-bug
Category: This is a bug.
F-custom_test_frameworks
`#![feature(custom_test_frameworks)]`
requires-nightly
This issue requires a nightly compiler in some way.
The following code:
results in
The workaround mentioned in https://stackoverflow.com/questions/27895946/expected-fn-item-found-a-different-fn-item-when-working-with-function-pointer doesn't work, as these functions are passed in by the compiler, so we cannot do the coercion.
Other variants that don't work:
The text was updated successfully, but these errors were encountered: