rtic: Build error 'identifier appears more than once in list' after update to rust 1.50
Hi.
I get this error when I use my macro to generate the rtic::app structure.
If I expand the code of my macro only with cargo expand and compile it, it works on rust v 1.50 too.
Rolling back to rust v 1.46 has solved this problem for me.
But I want use latest rust.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 25 (8 by maintainers)
I’ve been very busy at work lately and can’t find time to finish…
Even better than a tag! I didn’t even think that the RC might be in the cargo version.
Nice catch! We’ve forgotten to push tags, will fix that ASAP.
Other alternatives would be to use the releases via cargo, or latest master like you said.
The field
local_resource_locationshas changed tolocal_resources, but-rc.2is not aware of this change in rtic-syntax, which is fixed by updating to at least-rc.3or latest-rc.4should solve that issue.https://github.com/rtic-rs/rtic-syntax/pull/61/files#diff-089eb76a42ce093644312806f6da0e9a39ea5ad30ceb3b04fe08e2677bdcdfb9R285