Rename Lit.node to Lit.kind

This commit is contained in:
varkor
2019-09-26 16:56:53 +01:00
parent ce6aabbaa1
commit 17726f6b52
17 changed files with 25 additions and 25 deletions

View File

@@ -19,7 +19,7 @@ pub fn expand_concat(
let mut has_errors = false;
for e in es {
match e.kind {
ast::ExprKind::Lit(ref lit) => match lit.node {
ast::ExprKind::Lit(ref lit) => match lit.kind {
ast::LitKind::Str(ref s, _)
| ast::LitKind::Float(ref s, _)
| ast::LitKind::FloatUnsuffixed(ref s) => {