about summary refs log tree commit diff
path: root/src/librustc_driver
diff options
context:
space:
mode:
authorljedrz <ljedrz@gmail.com>2019-03-01 09:31:58 +0100
committerljedrz <ljedrz@gmail.com>2019-03-02 07:48:52 +0100
commit50b8bc8c8cc84b653fa14fe2fe4c7284e70c413d (patch)
tree5190ec43fc1f40fd5b9e7fb7098840cd97ed3142 /src/librustc_driver
parent77fa041fc1ca58b2ccbdb600f39aa92da1276970 (diff)
downloadrust-50b8bc8c8cc84b653fa14fe2fe4c7284e70c413d.tar.gz
rust-50b8bc8c8cc84b653fa14fe2fe4c7284e70c413d.zip
hir: remove NodeId from Pat and FieldPat
Diffstat (limited to 'src/librustc_driver')
-rw-r--r--src/librustc_driver/pretty.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_driver/pretty.rs b/src/librustc_driver/pretty.rs
index 3399562bc8d..1750aa62dd5 100644
--- a/src/librustc_driver/pretty.rs
+++ b/src/librustc_driver/pretty.rs
@@ -428,8 +428,8 @@ impl<'hir> pprust_hir::PpAnn for IdentifiedAnnotation<'hir> {
             }
             pprust_hir::AnnNode::Pat(pat) => {
                 s.s.space()?;
-                s.synth_comment(format!("pat node_id: {} hir local_id: {}",
-                                        pat.id, pat.hir_id.local_id.as_u32()))
+                s.synth_comment(format!("pat hir_id: {} hir local_id: {}",
+                                        pat.hir_id, pat.hir_id.local_id.as_u32()))
             }
         }
     }