blob: f7199d4ec44074d63c02aaf3e228e9f31f2746ea (
plain)
| 1
2
3
4
5
6
7
8
9
10
 | #![feature(rustc_attrs)]
struct ReservedDrop;
#[rustc_reservation_impl = "message"]
impl Drop for ReservedDrop {
//~^ ERROR reservation `Drop` impls are not supported
    fn drop(&mut self) {}
}
fn main() {}
 |