Attribute Macro deprive::deprive [−][src]
#[deprive]
Expand description
The whole point.
Use this macro as a shorthand for a negative impl and to confuse your coworkers who will definitely misread it upon first sight:
#![feature(negative_impls)] use deprive::deprive; #[deprive(Send, Sync)] struct X {}
The above will expand to:
#![feature(negative_impls)] struct X {} impl !Send for X {} impl !Sync for X {}