mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			293 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			293 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// Checks that you can set a lint level specficially for a macro definition.
 | 
						|
//
 | 
						|
// This is a regression test for issue #59306.
 | 
						|
//
 | 
						|
//@ check-pass
 | 
						|
 | 
						|
 | 
						|
#[deny(missing_docs)]
 | 
						|
mod module {
 | 
						|
    #[allow(missing_docs)]
 | 
						|
    #[macro_export]
 | 
						|
    macro_rules! hello {
 | 
						|
        () => ()
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
fn main() {}
 |