-
Notifications
You must be signed in to change notification settings - Fork 546
Closed
Labels
A-proc-macroArea: proc-macrosArea: proc-macrosE-EasyWe believe this would not be difficult to actually fixWe believe this would not be difficult to actually fixLanguage CleanupImprovements to existing language which is correct but not clear, or missing examples, or the like.Improvements to existing language which is correct but not clear, or missing examples, or the like.
Description
link: https://doc.rust-lang.org/reference/procedural-macros.html#the-proc_macro-crate
When token span's are mentioned there is this phrase.
All tokens have an associated Span. A Span is an opaque value that cannot be modified but can be manufactured. Spans represent an extent of source code within a program and are primarily used for error reporting. You can modify the Span of any token.
To me it seems like a contradiction. I would have submit a fix straight away but I am not sure how to express it correctly.
Metadata
Metadata
Assignees
Labels
A-proc-macroArea: proc-macrosArea: proc-macrosE-EasyWe believe this would not be difficult to actually fixWe believe this would not be difficult to actually fixLanguage CleanupImprovements to existing language which is correct but not clear, or missing examples, or the like.Improvements to existing language which is correct but not clear, or missing examples, or the like.