mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-11-03 21:25:25 +00:00 
			
		
		
		
	rust-analyzer: use new function in (incorrect) layout computation
This is only to fix the build.
This commit is contained in:
		
							parent
							
								
									6d727b5e35
								
							
						
					
					
						commit
						eb4c00e9c7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -179,7 +179,7 @@ fn layout_of_simd_ty(
 | 
				
			||||||
        .size
 | 
					        .size
 | 
				
			||||||
        .checked_mul(e_len, dl)
 | 
					        .checked_mul(e_len, dl)
 | 
				
			||||||
        .ok_or(LayoutError::BadCalc(LayoutCalculatorError::SizeOverflow))?;
 | 
					        .ok_or(LayoutError::BadCalc(LayoutCalculatorError::SizeOverflow))?;
 | 
				
			||||||
    let align = dl.vector_align(size);
 | 
					    let align = dl.llvmlike_vector_align(size);
 | 
				
			||||||
    let size = size.align_to(align.abi);
 | 
					    let size = size.align_to(align.abi);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Compute the placement of the vector fields:
 | 
					    // Compute the placement of the vector fields:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue