]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_metadata/link_args.rs
Rename `Item.node` to `Item.kind`
[rust.git] / src / librustc_metadata / link_args.rs
index 728fd004fcb693a2ce8b71b88b6746a9bcb65212..527d4421fca656d9a9a4250eba539713f707fe66 100644 (file)
@@ -27,7 +27,7 @@ struct Collector {
 
 impl<'tcx> ItemLikeVisitor<'tcx> for Collector {
     fn visit_item(&mut self, it: &'tcx hir::Item) {
-        let fm = match it.node {
+        let fm = match it.kind {
             hir::ItemKind::ForeignMod(ref fm) => fm,
             _ => return,
         };