about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@gmail>2013-06-26 22:17:45 +0200
committerMichael Woerister <michaelwoerister@gmail>2013-06-27 19:28:37 +0200
commit42dbae7f2a7dbdc414646e706eeffacdf7d4b338 (patch)
tree18497ac32e83e5f43f235676713c1958d703893f
parent4fb471ab7828e31c29054b76217c42917c4206c5 (diff)
downloadrust-42dbae7f2a7dbdc414646e706eeffacdf7d4b338.tar.gz
rust-42dbae7f2a7dbdc414646e706eeffacdf7d4b338.zip
debuginfo: Formatting cleanup.
-rw-r--r--src/test/debug-info/struct-in-struct.rs24
-rw-r--r--src/test/debug-info/struct-with-destructor.rs6
-rw-r--r--src/test/debug-info/variable-scope.rs4
3 files changed, 12 insertions, 22 deletions
diff --git a/src/test/debug-info/struct-in-struct.rs b/src/test/debug-info/struct-in-struct.rs
index cfd8c24caa2..04c5eec610b 100644
--- a/src/test/debug-info/struct-in-struct.rs
+++ b/src/test/debug-info/struct-in-struct.rs
@@ -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 }
             }
         }
diff --git a/src/test/debug-info/struct-with-destructor.rs b/src/test/debug-info/struct-with-destructor.rs
index b5ae4bbe8fb..c023e3c2ccb 100644
--- a/src/test/debug-info/struct-with-destructor.rs
+++ b/src/test/debug-info/struct-with-destructor.rs
@@ -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
 }
diff --git a/src/test/debug-info/variable-scope.rs b/src/test/debug-info/variable-scope.rs
index a9177ac1966..dd3a1671b78 100644
--- a/src/test/debug-info/variable-scope.rs
+++ b/src/test/debug-info/variable-scope.rs
@@ -19,12 +19,12 @@
 // 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