summaryrefslogtreecommitdiff
path: root/cli/lsp
diff options
context:
space:
mode:
authorSatya Rohith <me@satyarohith.com>2024-07-29 22:28:04 +0530
committerGitHub <noreply@github.com>2024-07-29 12:58:04 -0400
commit8c2f1f5a55a2a9bb9e04c12236faa341b3fd49b6 (patch)
treef32705f9ab92d0f3f8c839f1cb00918fcd32cd05 /cli/lsp
parent8bab761bccf976ac568b0b3f4decfd7e77747767 (diff)
chore: upgrade to rust 1.80 (#24778)
Diffstat (limited to 'cli/lsp')
-rw-r--r--cli/lsp/tsc.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs
index 4592edad4..7dfb68f53 100644
--- a/cli/lsp/tsc.rs
+++ b/cli/lsp/tsc.rs
@@ -215,6 +215,8 @@ pub enum SemicolonPreference {
Remove,
}
+// Allow due to false positive https://github.com/rust-lang/rust-clippy/issues/13170
+#[allow(clippy::needless_borrows_for_generic_args)]
fn normalize_diagnostic(
diagnostic: &mut crate::tsc::Diagnostic,
specifier_map: &TscSpecifierMap,