Commit 16fdef7
authored
Rollup merge of rust-lang#110750 - scottmcm:vardebug-size, r=cjgillot
Add size asserts for MIR `SourceScopeData` & `VarDebugInfo`
There's vectors of both of these in `mir::Body`, so might as well track them.
(I was pondering adding something to one or the other, so wanted this to see the memory impact.)1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3096 | 3096 | | |
3097 | 3097 | | |
3098 | 3098 | | |
| 3099 | + | |
3099 | 3100 | | |
3100 | 3101 | | |
3101 | 3102 | | |
3102 | 3103 | | |
| 3104 | + | |
3103 | 3105 | | |
3104 | 3106 | | |
0 commit comments