Closed
Description
Steps to reproduce:
# time commit bc2cdc375206a3ba118ffe16eb7262db300a1201
$ git clone https://github.com/time-rs/time
$ cd time
# rustc commit 94fccccd2cdba42aed93ad7715e969ab6aad6301
$ cargo +stage1 check
...
Compiling time-macros-impl v0.1.1 (/home/tm/test/time/time-macros-impl)
error: expected identifier
--> time-macros-impl/src/lib.rs:98:20
|
98 | pub fn $name(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
| ^^^^^
...
105 | / impl_macros! {
106 | | time: Time,
107 | | offset: Offset,
108 | | date: Date,
109 | | }
| |_- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
Meta
Very recent regression; versions <= nightly-2020-05-24
are not affected.