23 lines
360 B
Rust
23 lines
360 B
Rust
pub type S = u8;
|
|
|
|
#[macro_export]
|
|
macro_rules! external {
|
|
() => {
|
|
print_bang! {
|
|
struct M($crate::S);
|
|
}
|
|
|
|
#[print_attr]
|
|
struct A($crate::S);
|
|
|
|
#[derive(Print)]
|
|
struct D($crate::S);
|
|
};
|
|
}
|
|
|
|
#[macro_export]
|
|
macro_rules! issue_62325 { () => {
|
|
#[print_attr]
|
|
struct B(identity!($crate::S));
|
|
}}
|