r-a shows leftover tokens error on fine code #11729
Labels
A-macro
macro expansion
C-bug
Category: bug
S-actionable
Someone could pick this issue up and work on it right now
rust-analyzer version: 5e85158 2022-03-14 nightly
rustc version: rustc 1.61.0-nightly (4ce374923 2022-02-28)
Given the following code:
r-a highlights both macro invocations saying "leftover tokens rust-analyzer(macro-error)" even though
cargo test
works fine ie compiler doesn't think that there are leftover tokens.The text was updated successfully, but these errors were encountered: