mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			541 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			541 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ check-pass
 | |
| //@ compile-flags:-D bogus -D dead_cod
 | |
| //@ dont-require-annotations: HELP
 | |
| //@ dont-require-annotations: NOTE
 | |
| 
 | |
| fn main() { }
 | |
| 
 | |
| //~? WARN unknown lint: `bogus`
 | |
| //~? WARN unknown lint: `dead_cod`
 | |
| //~? WARN unknown lint: `bogus`
 | |
| //~? WARN unknown lint: `dead_cod`
 | |
| //~? WARN unknown lint: `bogus`
 | |
| //~? WARN unknown lint: `dead_cod`
 | |
| //~? NOTE requested on the command line with `-D bogus`
 | |
| //~? NOTE `#[warn(unknown_lints)]` on by default
 | |
| //~? NOTE requested on the command line with `-D dead_cod`
 | |
| //~? HELP did you mean: `dead_code`
 | 
