mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			224 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			224 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // test the behavior of the --no-run flag without the --test flag
 | |
| 
 | |
| //@ compile-flags:-Z unstable-options --no-run --test-args=--test-threads=1
 | |
| 
 | |
| pub fn f() {}
 | |
| 
 | |
| //~? ERROR the `--test` flag must be passed to enable `--no-run`
 | 
