Update compiler/rustc_ty_utils/src/layout.rs

Fix formatting that rustfmt can't handle currently.

Co-authored-by: Michael Goulet <michael@errs.io>
This commit is contained in:
matthewjasper 2023-04-08 21:40:33 +01:00 committed by GitHub
parent 804e93871d
commit 8e76c76149
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ fn layout_of_uncached<'tcx>(
let Abi::Scalar(e_abi) = e_ly.abi else {
// This error isn't caught in typeck, e.g., if
// the element type of the vector is generic.
tcx.sess.emit_fatal(NonPrimitiveSimdType {ty, e_ty });
tcx.sess.emit_fatal(NonPrimitiveSimdType { ty, e_ty });
};
// Compute the size and alignment of the vector: