| ... | @@ -125,7 +125,7 @@ const CountResult = struct { | ... | @@ -125,7 +125,7 @@ const CountResult = struct { |
| 125 | }; | 125 | }; |
| 126 | | 126 | |
| 127 | pub fn countLeaks() CountResult { | 127 | pub fn countLeaks() CountResult { |
| 128 | var res = CountResult{ | 128 | var res: CountResult = .{ |
| 129 | .leaked = 0, | 129 | .leaked = 0, |
| 130 | .dubious = 0, | 130 | .dubious = 0, |
| 131 | .reachable = 0, | 131 | .reachable = 0, |
| ... | @@ -136,7 +136,7 @@ pub fn countLeaks() CountResult { | ... | @@ -136,7 +136,7 @@ pub fn countLeaks() CountResult { |
| 136 | } | 136 | } |
| 137 | | 137 | |
| 138 | pub fn countLeakBlocks() CountResult { | 138 | pub fn countLeakBlocks() CountResult { |
| 139 | var res = CountResult{ | 139 | var res: CountResult = .{ |
| 140 | .leaked = 0, | 140 | .leaked = 0, |
| 141 | .dubious = 0, | 141 | .dubious = 0, |
| 142 | .reachable = 0, | 142 | .reachable = 0, |