Rename Item.node to Item.kind
This commit is contained in:
parent
21bf983acb
commit
7bc94cc3c2
99 changed files with 279 additions and 278 deletions
|
|
@ -230,7 +230,7 @@ impl CodegenCx<'ll, 'tcx> {
|
|||
let llty = self.layout_of(ty).llvm_type(self);
|
||||
let (g, attrs) = match self.tcx.hir().get(id) {
|
||||
Node::Item(&hir::Item {
|
||||
ref attrs, span, node: hir::ItemKind::Static(..), ..
|
||||
ref attrs, span, kind: hir::ItemKind::Static(..), ..
|
||||
}) => {
|
||||
let sym_str = sym.as_str();
|
||||
if self.get_declared_value(&sym_str).is_some() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue