-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Rust 1.45 lifts the restriction that proc-macros cannot be invoked in expression and statement position, which is the restriction referred to as the reason for needing a #[pre] macro on items using #[assure(...)] in the latest (0.2.0) crate docs:
Doing this is currently necessary, because the current (1.44.1) stable rust compiler does not support attribute macros being applied to statements or expressions directly.
What are plans for this crate now that this restriction has been lifted? Is any help needed to, say, lift the constraint that #[pre] needs to be applied to items?
The premise of the question is invalid, but @aticu has left this issue open and renamed it appropriately.
Metadata
Metadata
Assignees
Labels
No labels