proc-macro2
proc-macro2 copied to clipboard
Add a warning to `Delimiter::None` that rustc currently does not respect it.
Currently when used to implement a proc_macro, Delimiter::None simply doesn't do what it is documented to do.
While this is a rustc bug (rust-lang/rust#67062), it is a long standing one, and hard to discover. This pull request adds a warning to inform users of this issue, with a link to the relevant issue, and a version number of the last known affected rustc version.
Of course. I wasn't aware that it was a mirror of that.
I'll follow up here if/when that's done.
This is now a port of the accepted rust-lang/rust/pull/124389