about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2019-01-17 09:45:02 +1100
committerNicholas Nethercote <nnethercote@mozilla.com>2019-01-17 09:52:34 +1100
commitb2ce5a90995be655b1a1e8fd764e2b1c1f0dab14 (patch)
treed1f4f696e2085e649f9d095bad2245b498a1de5f /src/test/ui/thinlto
parente2f221c75932de7a29845c8d6f1f73536ad00c41 (diff)
downloadrust-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