]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/item-brace-style-same-line-where.rs
Tidy up and pass tests
[rust.git] / tests / target / item-brace-style-same-line-where.rs
index cdcd813fda4aa6dd22ba0b4d9b048d217d3d8da5..9a275efc96e224db9eb360b494050923aec2bc18 100644 (file)
@@ -1,4 +1,4 @@
-// rustfmt-item_brace_style: SameLineWhere
+// rustfmt-brace_style: SameLineWhere
 
 mod M {
     enum A {
@@ -15,21 +15,25 @@ enum C {}
     struct D {}
 
     enum A<T>
-        where T: Copy
+    where
+        T: Copy,
     {
         A,
     }
 
     struct B<T>
-        where T: Copy
+    where
+        T: Copy,
     {
         b: i32,
     }
 
     // For empty enums and structs, the brace remains on the same line.
     enum C<T>
-        where T: Copy {}
+    where
+        T: Copy, {}
 
     struct D<T>
-        where T: Copy {}
+    where
+        T: Copy, {}
 }