Closed
Description
Right now the compiler will simply allow tests that cannot be run. The following will compile but will not run any tests.
fn foo() {
#[test]
fn bar(){}
}
This constitutes a silent failure and should probably be a hard error (or at least a warning). There's a lint for it: UnnameableTestFunctions
but it isn't run by default.