diff options
Diffstat (limited to 'crates/mozart-test-harness')
| -rw-r--r-- | crates/mozart-test-harness/Cargo.toml | 3 | ||||
| -rw-r--r-- | crates/mozart-test-harness/src/parser.rs | 2 | ||||
| -rw-r--r-- | crates/mozart-test-harness/src/pool_builder_parser.rs | 2 | ||||
| -rw-r--r-- | crates/mozart-test-harness/src/runner.rs | 2 |
4 files changed, 6 insertions, 3 deletions
diff --git a/crates/mozart-test-harness/Cargo.toml b/crates/mozart-test-harness/Cargo.toml index 6c9421c..cae4c8b 100644 --- a/crates/mozart-test-harness/Cargo.toml +++ b/crates/mozart-test-harness/Cargo.toml @@ -9,3 +9,6 @@ indexmap.workspace = true regex.workspace = true serde_json.workspace = true tempfile.workspace = true + +[lints] +workspace = true diff --git a/crates/mozart-test-harness/src/parser.rs b/crates/mozart-test-harness/src/parser.rs index ecefb37..0645685 100644 --- a/crates/mozart-test-harness/src/parser.rs +++ b/crates/mozart-test-harness/src/parser.rs @@ -1,4 +1,4 @@ -use anyhow::{Context, Result, bail}; +use anyhow::{Context as _, Result, bail}; use indexmap::IndexMap; use std::fs; use std::path::Path; diff --git a/crates/mozart-test-harness/src/pool_builder_parser.rs b/crates/mozart-test-harness/src/pool_builder_parser.rs index 11d2179..2876c25 100644 --- a/crates/mozart-test-harness/src/pool_builder_parser.rs +++ b/crates/mozart-test-harness/src/pool_builder_parser.rs @@ -4,7 +4,7 @@ //! Section bodies are stored as raw strings (typically JSON); the runner is //! responsible for interpreting them. -use anyhow::{Context, Result, bail}; +use anyhow::{Context as _, Result, bail}; use std::fs; use std::path::Path; diff --git a/crates/mozart-test-harness/src/runner.rs b/crates/mozart-test-harness/src/runner.rs index cefd50f..bb26255 100644 --- a/crates/mozart-test-harness/src/runner.rs +++ b/crates/mozart-test-harness/src/runner.rs @@ -1,4 +1,4 @@ -use anyhow::{Context, Result}; +use anyhow::{Context as _, Result}; use std::path::Path; use std::process::Command; use tempfile::TempDir; |
