An open API service indexing awesome lists of open source software.

https://github.com/sam0x17/source_text_issue

Demonstrating an error with proc-macro2/syn's span.source_text() function
https://github.com/sam0x17/source_text_issue

Last synced: 9 months ago
JSON representation

Demonstrating an error with proc-macro2/syn's span.source_text() function

Awesome Lists containing this project

README

          

To reproduce, clone and run `cargo test`

Strangely, this same error does not seem to occur in the Rust Playground, but I have no idea
why and can't reproduce this behavior locally:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=2a3aa7e8d36a09b99adfdf75bfae346e