mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			329 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			329 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ aux-crate: macro_in_module=macro-in-module.rs
 | |
| #![crate_name = "foo"]
 | |
| extern crate macro_in_module;
 | |
| 
 | |
| // Test case based on the relationship between alloc and std.
 | |
| #[doc(inline)]
 | |
| pub use macro_in_module::vec;
 | |
| 
 | |
| #[macro_use]
 | |
| mod hidden_macro_module {
 | |
|     #[macro_export]
 | |
|     macro_rules! myspecialvec {
 | |
|         () => {};
 | |
|     }
 | |
| }
 | 
