summaryrefslogtreecommitdiffstats
path: root/src/test/ui/derives/derive-renamed.rs
blob: d310e5806c560a961b4a283db0e720fc959fa26d (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
}