Commit dd08347
authored
Rollup merge of rust-lang#124006 - Zalathar:static-assert, r=nnethercote
Move size assertions for `mir::syntax` types into the same file
A redundant size assertion for `StatementKind` was added in rust-lang#122937, because the existing assertion was in a different file.
This PR cleans that up, and also moves the `TerminatorKind` assertion into the same file where it belongs, to avoid the same thing happening again.
r? `@nnethercote`2 files changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1823 | 1823 | | |
1824 | 1824 | | |
1825 | 1825 | | |
1826 | | - | |
1827 | 1826 | | |
1828 | | - | |
1829 | 1827 | | |
1830 | 1828 | | |
1831 | 1829 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1463 | 1463 | | |
1464 | 1464 | | |
1465 | 1465 | | |
| 1466 | + | |
1466 | 1467 | | |
1467 | 1468 | | |
0 commit comments