]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/fn-custom-2.rs
Tidy up and pass tests
[rust.git] / tests / target / fn-custom-2.rs
index f0923bd1a853bf694af7d05ac0476bcc7b27328f..c2b3580c668c8b0aa2b019fc67ddb12a7d793ad0 100644 (file)
@@ -1,6 +1,4 @@
-// rustfmt-fn_args_layout: Block
-// rustfmt-generics_indent: Block
-// rustfmt-where_layout: Mixed
+// rustfmt-indent_style: Block
 // Test different indents.
 
 fn foo(
@@ -24,14 +22,18 @@ fn bar<
 }
 
 fn baz()
-    where X: TTTTTTTT
+where
+    X: TTTTTTTT,
 {
     baz();
 }
 
 fn qux()
-    where X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT, X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
-          X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT, X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT
+where
+    X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
+    X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
+    X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
+    X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
 {
     baz();
 }
@@ -59,7 +61,8 @@ fn bar<
     }
 
     fn baz()
-        where X: TTTTTTTT
+    where
+        X: TTTTTTTT,
     {
         baz();
     }