mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			244 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			244 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// `super` in a `macro` refers to the parent module of the macro itself and not its reexport.
 | 
						|
 | 
						|
// check-pass
 | 
						|
// aux-build:macro-def-site-super.rs
 | 
						|
 | 
						|
extern crate macro_def_site_super;
 | 
						|
 | 
						|
type A = macro_def_site_super::public::mac!();
 | 
						|
 | 
						|
fn main() {}
 |