We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 805598d + c26f175 commit 88ae089Copy full SHA for 88ae089
src/tools/rust-analyzer/crates/rust-analyzer/src/test_runner.rs
@@ -18,7 +18,11 @@ pub(crate) enum TestState {
18
Started,
19
Ok,
20
Ignored,
21
- Failed { stdout: String },
+ Failed {
22
+ // the stdout field is not always present depending on cargo test flags
23
+ #[serde(skip_serializing_if = "String::is_empty", default)]
24
+ stdout: String,
25
+ },
26
}
27
28
#[derive(Debug, Deserialize)]
0 commit comments