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
- Host: GitHub
- URL: https://github.com/sam0x17/source_text_issue
- Owner: sam0x17
- Created: 2023-05-24T02:34:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-24T02:37:16.000Z (over 2 years ago)
- Last Synced: 2025-02-13T08:14:51.278Z (11 months ago)
- Language: Rust
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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