mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	Consider comments and bare delimiters the same as an "empty line" for purposes of hiding rendered code output of long multispans. This results in more aggressive shortening of rendered output without losing too much context, specially in `*.stderr` tests that have "hidden" comments.
		
			
				
	
	
		
			17 lines
		
	
	
		
			408 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			408 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
error: `while...else` loops are not supported
 | 
						|
  --> $DIR/while-else-err.rs:4:7
 | 
						|
   |
 | 
						|
LL |       while false {
 | 
						|
   |       ----- `else` is attached to this loop
 | 
						|
LL |
 | 
						|
LL |       } else {
 | 
						|
   |  _______^
 | 
						|
...  |
 | 
						|
LL | |     };
 | 
						|
   | |_____^
 | 
						|
   |
 | 
						|
   = note: consider moving this `else` clause to a separate `if` statement and use a `bool` variable to control if it should run
 | 
						|
 | 
						|
error: aborting due to 1 previous error
 | 
						|
 |