diff options
| author | ljedrz <ljedrz@gmail.com> | 2019-02-22 15:48:14 +0100 |
|---|---|---|
| committer | ljedrz <ljedrz@gmail.com> | 2019-02-24 17:09:26 +0100 |
| commit | 021a140dcdbbae9050818b3f28402385efab3adc (patch) | |
| tree | c0308ea967f0dbfb961fa4394e526ac6e425df80 /src/librustc_driver | |
| parent | 63b4dd91be31b6565d2b868e5ac9ee0e4e33610b (diff) | |
| download | rust-021a140dcdbbae9050818b3f28402385efab3adc.tar.gz rust-021a140dcdbbae9050818b3f28402385efab3adc.zip | |
hir: remove NodeId from Block
Diffstat (limited to 'src/librustc_driver')
| -rw-r--r-- | src/librustc_driver/pretty.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_driver/pretty.rs b/src/librustc_driver/pretty.rs index 4caf2ec676f..b0b5594b93e 100644 --- a/src/librustc_driver/pretty.rs +++ b/src/librustc_driver/pretty.rs @@ -420,8 +420,8 @@ impl<'hir> pprust_hir::PpAnn for IdentifiedAnnotation<'hir> { } pprust_hir::AnnNode::Block(blk) => { s.s.space()?; - s.synth_comment(format!("block node_id: {} hir local_id: {}", - blk.id, blk.hir_id.local_id.as_u32())) + s.synth_comment(format!("block hir_id: {} hir local_id: {}", + blk.hir_id, blk.hir_id.local_id.as_u32())) } pprust_hir::AnnNode::Expr(expr) => { s.s.space()?; |
