ensures
/requires
on traits and impls: better ergonomics
#829
Labels
ensures
/requires
on traits and impls: better ergonomics
#829
We can right
ensures
andrequires
on methods in impls and traits, but that requires putting a#[hax_lib::attributes]
on the impl or trait block.That is fine, but when the user forgets to put that
#[hax_lib::attributes]
, we should output a nice error message with hints (the hint being: add hax_lib::attribtue).The text was updated successfully, but these errors were encountered: