1
Fork 0

debuginfo: Formatting cleanup.

This commit is contained in:
Michael Woerister 2013-06-26 22:17:45 +02:00
parent 4fb471ab78
commit 42dbae7f2a
3 changed files with 12 additions and 22 deletions

View file

@ -111,20 +111,15 @@ fn main() {
}; };
let bag = Bag { x: Simple { x: 22 } }; let bag = Bag { x: Simple { x: 22 } };
let bag_in_bag = BagInBag let bag_in_bag = BagInBag {
{ x: Bag {
x: Bag
{
x: Simple { x: 23 } x: Simple { x: 23 }
} }
}; };
let tjo = ThatsJustOverkill let tjo = ThatsJustOverkill {
{ x: BagInBag {
x: BagInBag x: Bag {
{
x: Bag
{
x: Simple { x: 24 } x: Simple { x: 24 }
} }
} }
@ -132,16 +127,13 @@ fn main() {
let tree = Tree { let tree = Tree {
x: Simple { x: 25 }, x: Simple { x: 25 },
y: InternalPaddingParent y: InternalPaddingParent {
{
x: InternalPadding { x: 26, y: 27 }, x: InternalPadding { x: 26, y: 27 },
y: InternalPadding { x: 28, y: 29 }, y: InternalPadding { x: 28, y: 29 },
z: InternalPadding { x: 30, y: 31 } z: InternalPadding { x: 30, y: 31 }
}, },
z: BagInBag z: BagInBag {
{ x: Bag {
x: Bag
{
x: Simple { x: 32 } x: Simple { x: 32 }
} }
} }

View file

@ -37,14 +37,12 @@ impl Drop for WithDestructor {
fn finalize(&self) {} fn finalize(&self) {}
} }
struct NoDestructorGuarded struct NoDestructorGuarded {
{
a: NoDestructor, a: NoDestructor,
guard: i64 guard: i64
} }
struct WithDestructorGuarded struct WithDestructorGuarded {
{
a: WithDestructor, a: WithDestructor,
guard: i64 guard: i64
} }

View file

@ -19,12 +19,12 @@
// debugger:print y // debugger:print y
// check:$2 = true // check:$2 = true
// debugger:run // debugger:continue
// debugger:finish // debugger:finish
// debugger:print x // debugger:print x
// check:$3 = 10 // check:$3 = 10
// debugger:run // debugger:continue
// debugger:finish // debugger:finish
// debugger:print x // debugger:print x
// check:$4 = false // check:$4 = false