mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	 d01df6f9aa
			
		
	
	
		d01df6f9aa
		
	
	
	
	
		
			
			Some of these cases currently don't occur in practice, but are included for completeness, and to avoid having to add them later as branch coverage and MC/DC coverage start building more complex expressions.
		
			
				
	
	
		
			49 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| Function name: generics::print_size::<()>
 | |
| Raw bytes (33): 0x[01, 01, 01, 01, 05, 05, 01, 06, 01, 01, 24, 20, 05, 02, 01, 08, 00, 24, 05, 00, 25, 02, 06, 02, 02, 0c, 02, 06, 01, 03, 01, 00, 02]
 | |
| Number of files: 1
 | |
| - file 0 => global file 1
 | |
| Number of expressions: 1
 | |
| - expression 0 operands: lhs = Counter(0), rhs = Counter(1)
 | |
| Number of file 0 mappings: 5
 | |
| - Code(Counter(0)) at (prev + 6, 1) to (start + 1, 36)
 | |
| - Branch { true: Counter(1), false: Expression(0, Sub) } at (prev + 1, 8) to (start + 0, 36)
 | |
|     true  = c1
 | |
|     false = (c0 - c1)
 | |
| - Code(Counter(1)) at (prev + 0, 37) to (start + 2, 6)
 | |
| - Code(Expression(0, Sub)) at (prev + 2, 12) to (start + 2, 6)
 | |
|     = (c0 - c1)
 | |
| - Code(Counter(0)) at (prev + 3, 1) to (start + 0, 2)
 | |
| 
 | |
| Function name: generics::print_size::<u32>
 | |
| Raw bytes (33): 0x[01, 01, 01, 01, 05, 05, 01, 06, 01, 01, 24, 20, 05, 02, 01, 08, 00, 24, 05, 00, 25, 02, 06, 02, 02, 0c, 02, 06, 01, 03, 01, 00, 02]
 | |
| Number of files: 1
 | |
| - file 0 => global file 1
 | |
| Number of expressions: 1
 | |
| - expression 0 operands: lhs = Counter(0), rhs = Counter(1)
 | |
| Number of file 0 mappings: 5
 | |
| - Code(Counter(0)) at (prev + 6, 1) to (start + 1, 36)
 | |
| - Branch { true: Counter(1), false: Expression(0, Sub) } at (prev + 1, 8) to (start + 0, 36)
 | |
|     true  = c1
 | |
|     false = (c0 - c1)
 | |
| - Code(Counter(1)) at (prev + 0, 37) to (start + 2, 6)
 | |
| - Code(Expression(0, Sub)) at (prev + 2, 12) to (start + 2, 6)
 | |
|     = (c0 - c1)
 | |
| - Code(Counter(0)) at (prev + 3, 1) to (start + 0, 2)
 | |
| 
 | |
| Function name: generics::print_size::<u64>
 | |
| Raw bytes (33): 0x[01, 01, 01, 01, 05, 05, 01, 06, 01, 01, 24, 20, 05, 02, 01, 08, 00, 24, 05, 00, 25, 02, 06, 02, 02, 0c, 02, 06, 01, 03, 01, 00, 02]
 | |
| Number of files: 1
 | |
| - file 0 => global file 1
 | |
| Number of expressions: 1
 | |
| - expression 0 operands: lhs = Counter(0), rhs = Counter(1)
 | |
| Number of file 0 mappings: 5
 | |
| - Code(Counter(0)) at (prev + 6, 1) to (start + 1, 36)
 | |
| - Branch { true: Counter(1), false: Expression(0, Sub) } at (prev + 1, 8) to (start + 0, 36)
 | |
|     true  = c1
 | |
|     false = (c0 - c1)
 | |
| - Code(Counter(1)) at (prev + 0, 37) to (start + 2, 6)
 | |
| - Code(Expression(0, Sub)) at (prev + 2, 12) to (start + 2, 6)
 | |
|     = (c0 - c1)
 | |
| - Code(Counter(0)) at (prev + 3, 1) to (start + 0, 2)
 | |
| 
 |