mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
Merge #5078
5078: Minor r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
a0a475546b
2 changed files with 2 additions and 12 deletions
|
@ -12,13 +12,13 @@ use parking_lot::RwLock;
|
|||
use ra_db::{CrateId, VfsPath};
|
||||
use ra_ide::{Analysis, AnalysisChange, AnalysisHost, FileId};
|
||||
use ra_project_model::{CargoWorkspace, ProcMacroClient, ProjectWorkspace, Target};
|
||||
use rustc_hash::{FxHashMap, FxHashSet};
|
||||
|
||||
use crate::{
|
||||
config::Config,
|
||||
diagnostics::{CheckFixes, DiagnosticCollection},
|
||||
from_proto,
|
||||
line_endings::LineEndings,
|
||||
lsp_utils::notification_new,
|
||||
main_loop::Task,
|
||||
reload::SourceRootConfig,
|
||||
request_metrics::{LatestRequests, RequestMetrics},
|
||||
|
@ -26,7 +26,6 @@ use crate::{
|
|||
to_proto::url_from_abs_path,
|
||||
Result,
|
||||
};
|
||||
use rustc_hash::{FxHashMap, FxHashSet};
|
||||
|
||||
#[derive(Eq, PartialEq)]
|
||||
pub(crate) enum Status {
|
||||
|
@ -190,7 +189,7 @@ impl GlobalState {
|
|||
&mut self,
|
||||
params: N::Params,
|
||||
) {
|
||||
let not = notification_new::<N>(params);
|
||||
let not = lsp_server::Notification::new(N::METHOD.to_string(), params);
|
||||
self.send(not.into());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue