From 966d387afac9c7d0be9937fae07a030166898d25 Mon Sep 17 00:00:00 2001 From: Sculas Date: Fri, 22 Mar 2024 23:03:44 +0100 Subject: [PATCH] fix: Rename `func_like` to `FuncLike` Fixes rust-lang/rust-analyzer#16926 --- crates/proc-macro-api/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/proc-macro-api/src/lib.rs b/crates/proc-macro-api/src/lib.rs index 880d6ec54d..fd49164464 100644 --- a/crates/proc-macro-api/src/lib.rs +++ b/crates/proc-macro-api/src/lib.rs @@ -38,7 +38,7 @@ pub enum ProcMacroKind { Attr, // This used to be called FuncLike, so that's what the server expects currently. #[serde(alias = "bang")] - #[serde(rename(serialize = "func_like", deserialize = "func_like"))] + #[serde(rename(serialize = "FuncLike", deserialize = "FuncLike"))] Bang, }