pub struct DiagnosticsMerger;Expand description
Merges diagnostics from external LSP and internal providers
Implementations§
Source§impl DiagnosticsMerger
impl DiagnosticsMerger
Sourcepub fn merge(
external: Option<Vec<Diagnostic>>,
internal: Vec<Diagnostic>,
config: &MergeConfig,
) -> Vec<Diagnostic>
pub fn merge( external: Option<Vec<Diagnostic>>, internal: Vec<Diagnostic>, config: &MergeConfig, ) -> Vec<Diagnostic>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiagnosticsMerger
impl RefUnwindSafe for DiagnosticsMerger
impl Send for DiagnosticsMerger
impl Sync for DiagnosticsMerger
impl Unpin for DiagnosticsMerger
impl UnwindSafe for DiagnosticsMerger
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more