Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'lib/lsp-server/examples/goto_def.rs')
-rw-r--r--lib/lsp-server/examples/goto_def.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/lsp-server/examples/goto_def.rs b/lib/lsp-server/examples/goto_def.rs
index 71f6625406..6ad144b85f 100644
--- a/lib/lsp-server/examples/goto_def.rs
+++ b/lib/lsp-server/examples/goto_def.rs
@@ -41,6 +41,9 @@
//!
//! {"jsonrpc": "2.0", "method": "exit", "params": null}
//! ```
+
+#![allow(clippy::print_stderr)]
+
use std::error::Error;
use lsp_types::OneOf;