Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/rust-analyzer/src/test_runner.rs')
-rw-r--r--crates/rust-analyzer/src/test_runner.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/rust-analyzer/src/test_runner.rs b/crates/rust-analyzer/src/test_runner.rs
index 9a65e708a0..7111a15d02 100644
--- a/crates/rust-analyzer/src/test_runner.rs
+++ b/crates/rust-analyzer/src/test_runner.rs
@@ -9,7 +9,7 @@ use serde_derive::Deserialize;
use toolchain::Tool;
use crate::{
- command::{CargoParser, CommandHandle},
+ command::{CommandHandle, JsonLinesParser},
flycheck::CargoOptions,
};
@@ -57,7 +57,7 @@ impl CargoTestOutputParser {
}
}
-impl CargoParser<CargoTestMessage> for CargoTestOutputParser {
+impl JsonLinesParser<CargoTestMessage> for CargoTestOutputParser {
fn from_line(&self, line: &str, _error: &mut String) -> Option<CargoTestMessage> {
let mut deserializer = serde_json::Deserializer::from_str(line);
deserializer.disable_recursion_limit();