about summary refs log tree commit diff
path: root/tests/coverage/try_error_result.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/coverage/try_error_result.rs')
-rw-r--r--tests/coverage/try_error_result.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/coverage/try_error_result.rs b/tests/coverage/try_error_result.rs
index 557cbf22bfa..1acc2616912 100644
--- a/tests/coverage/try_error_result.rs
+++ b/tests/coverage/try_error_result.rs
@@ -9,6 +9,7 @@ fn call(return_error: bool) -> Result<(), ()> {
     }
 }
 
+#[rustfmt::skip]
 fn test1() -> Result<(), ()> {
     let mut
         countdown = 10
@@ -57,6 +58,7 @@ impl Thing2 {
     }
 }
 
+#[rustfmt::skip]
 fn test2() -> Result<(), ()> {
     let thing1 = Thing1{};
     let mut
@@ -109,6 +111,7 @@ fn test2() -> Result<(), ()> {
     Ok(())
 }
 
+#[rustfmt::skip]
 fn main() -> Result<(), ()> {
     test1().expect_err("test1 should fail");
     test2()