-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
When writing proc macro, sometimes it's convenient to parse external data file and generate code accordingly. It would be nice to allow creating Span
s corresponding to byte ranges within the data file, and use them in compiler diagnostics information.
One specific example where the external data is a piece of Rust code, is at dtolnay/request-for-implementation#47 .
jeremyBanks, kornelski, 0b10011, Joeoc2001, ian-h-chamberlain and 3 more
Metadata
Metadata
Assignees
Labels
No labels