From b20708f6ee652310083957c519e35a4a4e73496d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Tue, 2 Mar 2021 14:27:29 +0200 Subject: Bump cargo_metadata --- crates/flycheck/src/lib.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'crates/flycheck/src') diff --git a/crates/flycheck/src/lib.rs b/crates/flycheck/src/lib.rs index e04208006..e2a59497a 100644 --- a/crates/flycheck/src/lib.rs +++ b/crates/flycheck/src/lib.rs @@ -194,7 +194,7 @@ impl FlycheckActor { cargo_metadata::Message::BuildScriptExecuted(_) | cargo_metadata::Message::BuildFinished(_) | cargo_metadata::Message::TextLine(_) - | cargo_metadata::Message::Unknown => {} + | _ => {} }, } } @@ -329,8 +329,7 @@ impl CargoActor { // Skip certain kinds of messages to only spend time on what's useful match &message { cargo_metadata::Message::CompilerArtifact(artifact) if artifact.fresh => (), - cargo_metadata::Message::BuildScriptExecuted(_) - | cargo_metadata::Message::Unknown => (), + cargo_metadata::Message::BuildScriptExecuted(_) => (), _ => self.sender.send(message).unwrap(), } } -- cgit v1.2.3