about summary refs log tree commit diff
diff options
context:
space:
mode:
authormatthewjasper <20113453+matthewjasper@users.noreply.github.com>2023-04-08 21:40:33 +0100
committerGitHub <noreply@github.com>2023-04-08 21:40:33 +0100
commit8e76c7614917d687d49bdb0484473cb7b88d7fe2 (patch)
tree4d72009d7c2ec4df68f5b050070eea27ab5cbbe1
parent804e93871dfc879380fdd3bcde6c6958466814af (diff)
downloadrust-8e76c7614917d687d49bdb0484473cb7b88d7fe2.tar.gz
rust-8e76c7614917d687d49bdb0484473cb7b88d7fe2.zip
Update compiler/rustc_ty_utils/src/layout.rs
Fix formatting that rustfmt can't handle currently.

Co-authored-by: Michael Goulet <michael@errs.io>
-rw-r--r--compiler/rustc_ty_utils/src/layout.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ty_utils/src/layout.rs b/compiler/rustc_ty_utils/src/layout.rs
index d08877233b3..63eb34f7d55 100644
--- a/compiler/rustc_ty_utils/src/layout.rs
+++ b/compiler/rustc_ty_utils/src/layout.rs
@@ -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: