mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			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));
 | 
						|
}}
 |