2018-12-09 08:46:12 -06:00
|
|
|
pub type S = u8;
|
|
|
|
|
|
|
|
#[macro_export]
|
|
|
|
macro_rules! external {
|
|
|
|
() => {
|
2019-05-21 17:09:58 -05:00
|
|
|
print_bang! {
|
2018-12-09 08:46:12 -06:00
|
|
|
struct M($crate::S);
|
|
|
|
}
|
|
|
|
|
2019-05-21 17:09:58 -05:00
|
|
|
#[print_attr]
|
2018-12-09 08:46:12 -06:00
|
|
|
struct A($crate::S);
|
|
|
|
|
2019-05-21 17:09:58 -05:00
|
|
|
#[derive(Print)]
|
2018-12-09 08:46:12 -06:00
|
|
|
struct D($crate::S);
|
|
|
|
};
|
|
|
|
}
|
2019-07-09 14:21:55 -05:00
|
|
|
|
|
|
|
#[macro_export]
|
|
|
|
macro_rules! issue_62325 { () => {
|
|
|
|
#[print_attr]
|
|
|
|
struct B(identity!($crate::S));
|
|
|
|
}}
|