mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			259 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			259 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// revisions: rpass1 rpass2
 | 
						|
 | 
						|
#![allow(unused_imports)]
 | 
						|
 | 
						|
#[macro_export]
 | 
						|
macro_rules! a_macro {
 | 
						|
    () => {};
 | 
						|
}
 | 
						|
 | 
						|
#[cfg(rpass1)]
 | 
						|
use a_macro as same_name;
 | 
						|
 | 
						|
mod same_name {}
 | 
						|
 | 
						|
mod needed_mod {
 | 
						|
    fn _crash() {
 | 
						|
        use super::same_name;
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
fn main() {}
 |