]>
Commit | Line | Data |
---|---|---|
32a655c1 SL |
1 | #![deny(deprecated)] |
2 | #![feature(dropck_parametricity)] | |
3157f602 | 3 | |
32a655c1 | 4 | struct Foo; |
a7813a04 | 5 | |
32a655c1 SL |
6 | impl Drop for Foo { |
7 | #[unsafe_destructor_blind_to_params] | |
8 | //~^ ERROR use of deprecated attribute `dropck_parametricity` | |
9 | fn drop(&mut self) {} | |
54a0048b | 10 | } |
3157f602 XL |
11 | |
12 | fn main() {} |