mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Rename ProcMacroKind::FuncLike to Bang
This commit is contained in:
parent
fc0d51ae65
commit
8e324e98a1
18 changed files with 83 additions and 66 deletions
|
@ -402,7 +402,7 @@ pub fn mirror(input: TokenStream) -> TokenStream {
|
|||
.into(),
|
||||
ProcMacro {
|
||||
name: "mirror".into(),
|
||||
kind: ProcMacroKind::FuncLike,
|
||||
kind: ProcMacroKind::Bang,
|
||||
expander: sync::Arc::new(MirrorProcMacroExpander),
|
||||
disabled: false,
|
||||
},
|
||||
|
@ -417,7 +417,7 @@ pub fn shorten(input: TokenStream) -> TokenStream {
|
|||
.into(),
|
||||
ProcMacro {
|
||||
name: "shorten".into(),
|
||||
kind: ProcMacroKind::FuncLike,
|
||||
kind: ProcMacroKind::Bang,
|
||||
expander: sync::Arc::new(ShortenProcMacroExpander),
|
||||
disabled: false,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue