Skip to content

Commit 6e54d41

Browse files
committed
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.
2 parents 6f54ebb + 966d387 commit 6e54d41

File tree

1 file changed

+1
-1
lines changed
  • crates/proc-macro-api/src

1 file changed

+1
-1
lines changed

crates/proc-macro-api/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub enum ProcMacroKind {
3838
Attr,
3939
// This used to be called FuncLike, so that's what the server expects currently.
4040
#[serde(alias = "bang")]
41-
#[serde(rename(serialize = "func_like", deserialize = "func_like"))]
41+
#[serde(rename(serialize = "FuncLike", deserialize = "FuncLike"))]
4242
Bang,
4343
}
4444

0 commit comments

Comments
 (0)