fix: Rename func_like to FuncLike

Fixes rust-lang/rust-analyzer#16926
This commit is contained in:
Sculas 2024-03-22 23:03:44 +01:00 committed by GitHub
parent 6f54ebb30c
commit 966d387afa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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