mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-12 21:36:23 +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
|
@ -35,8 +35,11 @@ pub use version::{read_dylib_info, read_version, RustCInfo};
|
|||
#[derive(Copy, Clone, Eq, PartialEq, Debug, Serialize, Deserialize)]
|
||||
pub enum ProcMacroKind {
|
||||
CustomDerive,
|
||||
FuncLike,
|
||||
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"))]
|
||||
Bang,
|
||||
}
|
||||
|
||||
/// A handle to an external process which load dylibs with macros (.so or .dll)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue