summary refs log tree commit diff
path: root/src/test/ui/feature-gates/feature-gate-dropck-ugeh-2.rs
blob: 33252019e71e63038a167fb0ae01b718c247b1e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![deny(deprecated)]
#![feature(dropck_parametricity)]

struct Foo;

impl Drop for Foo {
    #[unsafe_destructor_blind_to_params]
    //~^ ERROR use of deprecated attribute `dropck_parametricity`
    fn drop(&mut self) {}
}

fn main() {}