FuncLike
proc-macro expansion no longer works due to improper rename
#16926
Labels
Broken Window
Bugs / technical debt to be addressed immediately
Commit 8e324e9 renamed the
FuncLike
kind toBang
and added an alias for backward-compatibility calledfunc_like
, while it should beFuncLike
. This currently causes the following error in my project when using#[tokio::main]
:proc macro `main` not expanded: failed to read response: unknown variant `FuncLike`, expected one of `CustomDerive`, `Attr`, `func_like` at line 1 column 178
Minimal reproducible example (really):
The following lines cause this:
rust-analyzer/crates/proc-macro-api/src/lib.rs
Lines 39 to 42 in 8e324e9
A simple fix should just be to rename it to
FuncLike
:I'll try to PR a fix. edit: #16927
The text was updated successfully, but these errors were encountered: