Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--crates/rust-analyzer/src/handlers/notification.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/rust-analyzer/src/handlers/notification.rs b/crates/rust-analyzer/src/handlers/notification.rs
index ddef716c51..a48c127673 100644
--- a/crates/rust-analyzer/src/handlers/notification.rs
+++ b/crates/rust-analyzer/src/handlers/notification.rs
@@ -331,10 +331,6 @@ fn run_flycheck(state: &mut GlobalState, vfs_path: VfsPath) -> bool {
// have this problem. Remove the line below when triomphe::Arc has an UnwindSafe impl
// like std::sync::Arc's.
let world = world;
- stdx::always!(
- world.flycheck.len() == 1,
- "should have exactly one flycheck handle when invocation strategy is once"
- );
let saved_file = vfs_path.as_path().map(ToOwned::to_owned);
if let Some(flycheck) = world.flycheck.first() {
flycheck.restart_workspace(saved_file);