mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			216 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			216 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // No warnings about removed lint when
 | |
| // allow(renamed_and_removed_lints)
 | |
| 
 | |
| #![allow(renamed_and_removed_lints)]
 | |
| 
 | |
| #[deny(raw_pointer_derive)]
 | |
| #[deny(unused_variables)]
 | |
| fn main() { let unused = (); } //~ ERROR unused
 | 
