proc-macro2 icon indicating copy to clipboard operation
proc-macro2 copied to clipboard

Add a warning to `Delimiter::None` that rustc currently does not respect it.

Open CensoredUsername opened this issue 1 year ago • 1 comments

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.

CensoredUsername avatar Apr 25 '24 14:04 CensoredUsername

Of course. I wasn't aware that it was a mirror of that.

I'll follow up here if/when that's done.

CensoredUsername avatar Apr 25 '24 15:04 CensoredUsername

This is now a port of the accepted rust-lang/rust/pull/124389

CensoredUsername avatar May 25 '24 09:05 CensoredUsername