]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/struct_lits_visual_multiline.rs
Tidy up and pass tests
[rust.git] / tests / target / struct_lits_visual_multiline.rs
index 3433b01ff507f4dd71446abbd6c9457921ae4572..2809d3a26129077ab7855811f5f31d0de6bd02e7 100644 (file)
@@ -1,6 +1,8 @@
+// rustfmt-normalize_comments: true
 // rustfmt-wrap_comments: true
-// rustfmt-struct_lit_style: Visual
-// rustfmt-struct_lit_multiline_style: ForceMulti
+// rustfmt-indent_style: Visual
+// rustfmt-struct_lit_single_line: false
+// rustfmt-error_on_line_overflow: false
 
 // Struct literal expressions.
 
@@ -18,24 +20,10 @@ fn main() {
     Fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo { a: foo(),
                                                                                b: bar(), };
 
-    Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo { // Commen
-                                                                                        // t
-                                                                                        a: foo(), /* C
-                                                                                                   * o
-                                                                                                   * m
-                                                                                                   * m
-                                                                                                   * e
-                                                                                                   * n
-                                                                                                   * t */
-                                                                                        // Commen
-                                                                                        // t
-                                                                                        b: bar(), /* C
-                                                                                                   * o
-                                                                                                   * m
-                                                                                                   * m
-                                                                                                   * e
-                                                                                                   * n
-                                                                                                   * t */ };
+    Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo { // Comment
+                                                                                        a: foo(), /* Comment */
+                                                                                        // Comment
+                                                                                        b: bar(), /* Comment */ };
 
     Foo { a: Bar,
           b: foo(), };