From d974a0b8894209a041fb06c3c8713d7e8b91cbb7 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Thu, 5 May 2022 16:35:07 +0200 Subject: [PATCH] Fix rebase fallout --- crates/hir-expand/src/builtin_fn_macro.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/hir-expand/src/builtin_fn_macro.rs b/crates/hir-expand/src/builtin_fn_macro.rs index 45eb660a6c9..687c5497482 100644 --- a/crates/hir-expand/src/builtin_fn_macro.rs +++ b/crates/hir-expand/src/builtin_fn_macro.rs @@ -440,7 +440,7 @@ fn concat_bytes_expand( .into_iter() .for_each(|x| bytes.push(x.to_string())); } - ast::LiteralKind::Byte => { + ast::LiteralKind::Byte(_) => { bytes.push(lit.to_string()); } _ => { @@ -477,7 +477,7 @@ fn concat_bytes_expand_subtree( tt::TokenTree::Leaf(tt::Leaf::Literal(lit)) => { let lit = ast::make::literal(&lit.to_string()); match lit.kind() { - ast::LiteralKind::IntNumber(_) | ast::LiteralKind::Byte => { + ast::LiteralKind::IntNumber(_) | ast::LiteralKind::Byte(_) => { bytes.push(lit.to_string()); } _ => {