rust/tests/ui/proc-macro/derive-expand-order.rs

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

15 lines
215 B
Rust
Raw Normal View History

//@ run-pass
//@ aux-build:multiple-derives.rs
extern crate multiple_derives;
use multiple_derives::*;
#[derive(First)]
#[derive(Second)]
#[derive(Third, Fourth)]
#[derive(Fifth)]
pub struct Foo {}
fn main() {}