chris-morgan / mopa

MOPA: My Own Personal Any. A macro to implement all the `Any` methods on your own trait.
Other
112 stars 9 forks source link

Allow dead code in macro expansion. #5

Closed narpfel closed 8 years ago

narpfel commented 8 years ago

It is not possible to silence the dead code warnings from the outside:

#[allow(dead_code)]
mopafy!(Trait);

still emits the warnings.

tailhook commented 8 years ago

Ping @chris-morgan. This is annoying in my code too. Do you see anything wrong with this?

chris-morgan commented 8 years ago

Sorry, just forgot to merge it.