We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a08179 commit aa90d02Copy full SHA for aa90d02
crates/parser/src/output.rs
@@ -54,7 +54,7 @@ impl Output {
54
}
55
56
pub(crate) fn token(&mut self, kind: SyntaxKind, n_tokens: u8) {
57
- let e = ((kind as u16 as u32) << 16) | ((n_tokens as u32) << 8) | (0 << 4) | 1;
+ let e = ((kind as u16 as u32) << 16) | ((n_tokens as u32) << 8) | 1;
58
self.event.push(e)
59
60
crates/proc-macro-api/src/msg/flat.rs
@@ -210,7 +210,7 @@ impl<'a> Writer<'a> {
210
let idx_tag = match child {
211
tt::TokenTree::Subtree(it) => {
212
let idx = self.enqueue(it);
213
- idx << 2 | 0b00
+ idx << 2
214
215
tt::TokenTree::Leaf(leaf) => match leaf {
216
tt::Leaf::Literal(lit) => {
0 commit comments