Manishearth / humpty_dumpty

Implicit Drop/move protection for Rust (linear types)
12 stars 1 forks source link

Allow MetaNameValue allow_drop annotations #7

Closed Manishearth closed 9 years ago

Manishearth commented 9 years ago

#[allow_drop(Foo<Bar, Baz>)] doesn't work, sadly, due to parsing limitations. I've added the ability to accept #[allow_drop = "Foo<Bar, Baz>"] (though of course for multiple allows you now need multiple attributes)

r? @munksgaard