mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-18 16:20:18 +00:00
Fail spawning proc-macro servers when their api version is newer than r-a's
This commit is contained in:
parent
c40b0895f0
commit
8e998c4aa7
3 changed files with 10 additions and 3 deletions
|
@ -13,7 +13,7 @@ use crate::ProcMacroKind;
|
|||
pub use crate::msg::flat::FlatTree;
|
||||
|
||||
pub const NO_VERSION_CHECK_VERSION: u32 = 0;
|
||||
pub const API_VERSION: u32 = 1;
|
||||
pub const CURRENT_API_VERSION: u32 = 1;
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
pub enum Request {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue