about summary refs log tree commit diff
path: root/tests/codegen/try_identity.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-31 12:18:57 +0000
committerbors <bors@rust-lang.org>2024-05-31 12:18:57 +0000
commit2a2c29aafa50bf6fe53d66b32070eba59f860ac3 (patch)
tree278b17527f858913de99475f1d9ecdc41d297f89 /tests/codegen/try_identity.rs
parent99cb42c29641aee2cce6521e07960d4de93205c8 (diff)
parent0ea498aa9fc7ddf696d53fe961d30e63e4d38438 (diff)
downloadrust-2a2c29aafa50bf6fe53d66b32070eba59f860ac3.tar.gz
rust-2a2c29aafa50bf6fe53d66b32070eba59f860ac3.zip
Auto merge of #125759 - nnethercote:format-some-tests, r=GuillaumeGomez
Format some tests

There are more directories under `tests/` still to do, but this is enough for one PR.

r? `@GuillaumeGomez`
Diffstat (limited to 'tests/codegen/try_identity.rs')
-rw-r--r--tests/codegen/try_identity.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/codegen/try_identity.rs b/tests/codegen/try_identity.rs
index 87b7d0727d0..6a3a8a06e82 100644
--- a/tests/codegen/try_identity.rs
+++ b/tests/codegen/try_identity.rs
@@ -13,9 +13,9 @@ type R = Result<u64, i32>;
 // optimization that picks up the `?` desugaring, as `SimplifyArmIdentity` does not.
 #[no_mangle]
 pub fn try_identity(x: R) -> R {
-// CHECK: start:
-// FIXME(JakobDegen): Broken by deaggregation change CHECK-NOT\: br {{.*}}
-// CHECK ret void
+    // CHECK: start:
+    // FIXME(JakobDegen): Broken by deaggregation change CHECK-NOT\: br {{.*}}
+    // CHECK ret void
     let y = match into_result(x) {
         Err(e) => return from_error(From::from(e)),
         Ok(v) => v,