Rename Ty.node to Ty.kind
This commit is contained in:
parent
d4573c9c1e
commit
c3d8791373
50 changed files with 138 additions and 137 deletions
|
|
@ -1799,7 +1799,7 @@ impl EncodeContext<'tcx> {
|
|||
}
|
||||
|
||||
fn encode_info_for_ty(&mut self, ty: &hir::Ty) {
|
||||
match ty.node {
|
||||
match ty.kind {
|
||||
hir::TyKind::Array(_, ref length) => {
|
||||
let def_id = self.tcx.hir().local_def_id(length.hir_id);
|
||||
self.record(def_id, EncodeContext::encode_info_for_anon_const, def_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue