1.38 regression ? proc-macro derive panicked if there is r# in front of the attribute name #64924
Open
Description
I have a macro and it defines an attribute called "async". When I use it, I add r# in front of it. I have this :
#[cowrpc(r#async)]
struct Handshake {
...
}
Since 1.38.0, it fails with
error: proc-macro derive panicked
--> src/cow/den_server_iface.rs:3:10
|
3 | #[derive(CowRpcIface)]
| ^^^^^^^^^^^
|
= help: message: "r#async" is not a valid ident
error: proc-macro derive panicked
It was building without any error before. What is different with 1.38?