chore: Bump Rust to 1.87 (#30739)

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2025-05-16 00:28:52 +02:00 committed by GitHub
parent a316428686
commit 0f17e82154
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 33 additions and 45 deletions

View file

@ -3415,7 +3415,6 @@ pub struct RemoteLspStore {
upstream_project_id: u64,
}
#[allow(clippy::large_enum_variant)]
pub(crate) enum LspStoreMode {
Local(LocalLspStore), // ssh host and collab host
Remote(RemoteLspStore), // collab guest
@ -8806,9 +8805,10 @@ impl LspStore {
})
});
let is_unnecessary = diagnostic.tags.as_ref().map_or(false, |tags| {
tags.iter().any(|tag| *tag == DiagnosticTag::UNNECESSARY)
});
let is_unnecessary = diagnostic
.tags
.as_ref()
.map_or(false, |tags| tags.contains(&DiagnosticTag::UNNECESSARY));
if is_supporting {
supporting_diagnostics.insert(