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.
This commit is contained in:
bors 2024-03-23 05:39:28 +00:00
commit 6e54d41d5a

View file

@ -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,
}