Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #16927 - Sculas:fix/funclike-rename, r=Veykril
fix: Rename `func_like` to `FuncLike` Should fix #16926. Please check the issue for more information.
bors 2024-03-23
parent 6f54ebb · parent 966d387 · commit 6e54d41
-rw-r--r--crates/proc-macro-api/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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,
}