Closed
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.