]> git.lizzy.rs Git - rust.git/commitdiff
debuginfo: Formatting cleanup.
authorMichael Woerister <michaelwoerister@gmail>
Wed, 26 Jun 2013 20:17:45 +0000 (22:17 +0200)
committerMichael Woerister <michaelwoerister@gmail>
Thu, 27 Jun 2013 17:28:37 +0000 (19:28 +0200)
src/test/debug-info/struct-in-struct.rs
src/test/debug-info/struct-with-destructor.rs
src/test/debug-info/variable-scope.rs

index cfd8c24caa21a838763d0444dea177a245a5a999..04c5eec610b73599147aac068d015b7335a53172 100644 (file)
@@ -111,20 +111,15 @@ fn main() {
     };
 
     let bag = Bag { x: Simple { x: 22 } };
-    let bag_in_bag = BagInBag
-    {
-        x: Bag
-        {
+    let bag_in_bag = BagInBag {
+        x: Bag {
             x: Simple { x: 23 }
         }
     };
 
-    let tjo = ThatsJustOverkill
-    {
-        x: BagInBag
-        {
-            x: Bag
-            {
+    let tjo = ThatsJustOverkill {
+        x: BagInBag {
+            x: Bag {
                 x: Simple { x: 24 }
             }
         }
@@ -132,16 +127,13 @@ fn main() {
 
     let tree = Tree {
         x: Simple { x: 25 },
-        y: InternalPaddingParent
-        {
+        y: InternalPaddingParent {
             x: InternalPadding { x: 26, y: 27 },
             y: InternalPadding { x: 28, y: 29 },
             z: InternalPadding { x: 30, y: 31 }
         },
-        z: BagInBag
-        {
-            x: Bag
-            {
+        z: BagInBag {
+            x: Bag {
                 x: Simple { x: 32 }
             }
         }
index b5ae4bbe8fbaf46e7bb6623984dab7f28c471298..c023e3c2ccbda7edcff701c18980b47684818118 100644 (file)
@@ -37,14 +37,12 @@ impl Drop for WithDestructor {
     fn finalize(&self) {}
 }
 
-struct NoDestructorGuarded
-{
+struct NoDestructorGuarded {
     a: NoDestructor,
     guard: i64
 }
 
-struct WithDestructorGuarded
-{
+struct WithDestructorGuarded {
     a: WithDestructor,
     guard: i64
 }
index a9177ac19664705b776d174a1fa90dc9aca491e8..dd3a1671b7858daa173624b6dba4e9994255b671 100644 (file)
 // debugger:print y
 // check:$2 = true
 
-// debugger:run
+// debugger:continue
 // debugger:finish
 // debugger:print x
 // check:$3 = 10
 
-// debugger:run
+// debugger:continue
 // debugger:finish
 // debugger:print x
 // check:$4 = false