Closed
Description
Since rust-lang/rust#53410 the #[test]
attribute has become a macro and is not visible in the HIR as an attribute. This means that the code detecting test cases never triggers so any #[test]
-labeled functions are ignored.
CI passes because the effect of this is that the tests simply aren't run, so of course they don't fail :).
I am investigating the effects of the compiler PR. Empirically it looks like functions that used to have a test
attribute in the HIR now have a main
attribute, but I'm not sure if that's happening on purpose and if that's the correct way for us to detect test cases now.