mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Fix rebase fallout
This commit is contained in:
parent
37443eb9a1
commit
d974a0b889
1 changed files with 2 additions and 2 deletions
|
@ -440,7 +440,7 @@ fn concat_bytes_expand(
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.for_each(|x| bytes.push(x.to_string()));
|
.for_each(|x| bytes.push(x.to_string()));
|
||||||
}
|
}
|
||||||
ast::LiteralKind::Byte => {
|
ast::LiteralKind::Byte(_) => {
|
||||||
bytes.push(lit.to_string());
|
bytes.push(lit.to_string());
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
|
@ -477,7 +477,7 @@ fn concat_bytes_expand_subtree(
|
||||||
tt::TokenTree::Leaf(tt::Leaf::Literal(lit)) => {
|
tt::TokenTree::Leaf(tt::Leaf::Literal(lit)) => {
|
||||||
let lit = ast::make::literal(&lit.to_string());
|
let lit = ast::make::literal(&lit.to_string());
|
||||||
match lit.kind() {
|
match lit.kind() {
|
||||||
ast::LiteralKind::IntNumber(_) | ast::LiteralKind::Byte => {
|
ast::LiteralKind::IntNumber(_) | ast::LiteralKind::Byte(_) => {
|
||||||
bytes.push(lit.to_string());
|
bytes.push(lit.to_string());
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue