diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-01-17 09:45:02 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-01-17 09:52:34 +1100 |
| commit | b2ce5a90995be655b1a1e8fd764e2b1c1f0dab14 (patch) | |
| tree | d1f4f696e2085e649f9d095bad2245b498a1de5f /src/test/ui/thinlto | |
| parent | e2f221c75932de7a29845c8d6f1f73536ad00c41 (diff) | |
| download | rust-b2ce5a90995be655b1a1e8fd764e2b1c1f0dab14.tar.gz rust-b2ce5a90995be655b1a1e8fd764e2b1c1f0dab14.zip | |
Make `hir::Stmt` a separate struct.
Benefits: - It lets us move the `NodeId` field out of every `hir::StmtKind` variant `NodeId` to a more sensible spot. - It eliminates sadness in `Stmt::fmt`. - It makes `hir::Stmt` match `ast::Stmt`.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
