Unnamed repository; edit this file 'description' to name the repository.
-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 45eb660a6c..687c549748 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());
}
_ => {