 03395f5df8
			
		
	
	
		03395f5df8
		
			
		
	
	
	
	
		
			
			# Objective - Fixes #16802, part of #16801, extracted from #16770. ## Solution - Fix `compile_fail_utils`'s example test so that it now compiles. - Bless the results, which were outdated. ## Testing - `cd tools/compile_fail_utils && cargo check --all-targets` - `cd tools/compile_fail_utils && cargo test --test example`
		
			
				
	
	
		
			11 lines
		
	
	
		
			436 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			436 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| fn main() -> compile_fail_utils::ui_test::Result<()> {
 | |
|     // Run all tests in the tests/example_tests folder.
 | |
|     // If we had more tests we could either call this function
 | |
|     // on everysingle one or use test_multiple and past it an array
 | |
|     // of paths.
 | |
|     //
 | |
|     // Don't forget that when running tests the working directory
 | |
|     // is set to the crate root.
 | |
|     compile_fail_utils::test("example_tests", "tests/example_tests")
 | |
| }
 |