[proc macros] confusing statement #1209
Labels
A-proc-macro
Area: proc-macros
Easy
We believe this would not be difficult to actually fix
Language Cleanup
Improvements to existing language which is correct but not clear, or missing examples, or the like.
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.
The text was updated successfully, but these errors were encountered: