File tree Expand file tree Collapse file tree 3 files changed +12
-22
lines changed Expand file tree Collapse file tree 3 files changed +12
-22
lines changed Original file line number Diff line number Diff line change @@ -111,37 +111,29 @@ fn main() {
111111 } ;
112112
113113 let bag = Bag { x : Simple { x : 22 } } ;
114- let bag_in_bag = BagInBag
115- {
116- x : Bag
117- {
114+ let bag_in_bag = BagInBag {
115+ x : Bag {
118116 x : Simple { x : 23 }
119117 }
120118 } ;
121119
122- let tjo = ThatsJustOverkill
123- {
124- x : BagInBag
125- {
126- x : Bag
127- {
120+ let tjo = ThatsJustOverkill {
121+ x : BagInBag {
122+ x : Bag {
128123 x : Simple { x : 24 }
129124 }
130125 }
131126 } ;
132127
133128 let tree = Tree {
134129 x : Simple { x : 25 } ,
135- y : InternalPaddingParent
136- {
130+ y : InternalPaddingParent {
137131 x : InternalPadding { x : 26 , y : 27 } ,
138132 y : InternalPadding { x : 28 , y : 29 } ,
139133 z : InternalPadding { x : 30 , y : 31 }
140134 } ,
141- z : BagInBag
142- {
143- x : Bag
144- {
135+ z : BagInBag {
136+ x : Bag {
145137 x : Simple { x : 32 }
146138 }
147139 }
Original file line number Diff line number Diff line change @@ -37,14 +37,12 @@ impl Drop for WithDestructor {
3737 fn finalize ( & self ) { }
3838}
3939
40- struct NoDestructorGuarded
41- {
40+ struct NoDestructorGuarded {
4241 a : NoDestructor ,
4342 guard : i64
4443}
4544
46- struct WithDestructorGuarded
47- {
45+ struct WithDestructorGuarded {
4846 a : WithDestructor ,
4947 guard : i64
5048}
Original file line number Diff line number Diff line change 1919// debugger:print y
2020// check:$2 = true
2121
22- // debugger:run
22+ // debugger:continue
2323// debugger:finish
2424// debugger:print x
2525// check:$3 = 10
2626
27- // debugger:run
27+ // debugger:continue
2828// debugger:finish
2929// debugger:print x
3030// check:$4 = false
You can’t perform that action at this time.
0 commit comments