mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			253 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			253 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// Expansion drives parsing, so conditional compilation will strip
 | 
						|
// out outline modules and we will never attempt parsing them.
 | 
						|
 | 
						|
//@ check-pass
 | 
						|
 | 
						|
fn main() {}
 | 
						|
 | 
						|
#[cfg(FALSE)]
 | 
						|
mod foo {
 | 
						|
    mod bar {
 | 
						|
        mod baz; // This was an error before.
 | 
						|
    }
 | 
						|
}
 |