-
Notifications
You must be signed in to change notification settings - Fork 392
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.
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.
gnzlbg
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.