mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Add tests for float access macro call inputs
This commit is contained in:
parent
f6539b139e
commit
e59487de38
5 changed files with 58 additions and 37 deletions
|
@ -817,7 +817,7 @@ impl<'a> TtTreeSink<'a> {
|
|||
self.inner.token(SyntaxKind::DOT, ".");
|
||||
|
||||
if has_pseudo_dot {
|
||||
assert!(right.is_empty());
|
||||
assert!(right.is_empty(), "{left}.{right}");
|
||||
} else {
|
||||
self.inner.start_node(SyntaxKind::NAME_REF);
|
||||
self.inner.token(SyntaxKind::INT_NUMBER, right);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue