about summary refs log tree commit diff
path: root/tests/ui/derives/derive-renamed.rs
blob: d0297054cb2f42668efa9b1327023e1acfa19f8c (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ check-pass
//@ edition:2018

use derive as my_derive;

#[my_derive(Debug)]
struct S;

fn main() {
    println!("{:?}", S); // OK
}