I just updated my rust analyzer, and now every file (at least in this project) gets the error
unexpected token in input is it happening to other people?
Can you provide more details? It's probably a combination of a bug in macro expansion and diagnostics reporting
The project is https://github.com/pubgrub-rs/pubgrub
VSCode with rust analizere, just updated.
What more would be useful?
It would be good to know which macro invocation causes this
But I can see how that might be hard to figure out, heh
I can reproduce it
proptest! block at the bottom
Minimizing https://github.com/AltSysrq/proptest/blob/master/proptest/src/sugar.rs#L150-L248 is left as a homework
Should I open an issue, or have you built a more minimal example?
You can probably file it like this with a mention that the
proptest! block is causing it.