rust/tests/ui/derives/derive-renamed.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
133 B
Rust
Raw Normal View History

2021-02-07 10:26:33 -06:00
// check-pass
// edition:2018
use derive as my_derive;
#[my_derive(Debug)]
struct S;
fn main() {
println!("{:?}", S); // OK
}