about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crates/hir-expand/src/builtin_fn_macro.rs4
1 files 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());
                     }
                     _ => {