aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-test-harness
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-10 15:35:35 +0900
committernsfisis <nsfisis@gmail.com>2026-05-10 15:35:35 +0900
commitdeb44112883ab7ff932b0ab7c547680a615c7821 (patch)
treea2f7f2416d8513eef064829e02689610e38760d3 /crates/mozart-test-harness
parent46845eff8d1398f35099a0ef914f77bcaf473287 (diff)
downloadphp-mozart-deb44112883ab7ff932b0ab7c547680a615c7821.tar.gz
php-mozart-deb44112883ab7ff932b0ab7c547680a615c7821.tar.zst
php-mozart-deb44112883ab7ff932b0ab7c547680a615c7821.zip
refactor(clippy): deny clippy::unused_trait_names
Diffstat (limited to 'crates/mozart-test-harness')
-rw-r--r--crates/mozart-test-harness/Cargo.toml3
-rw-r--r--crates/mozart-test-harness/src/parser.rs2
-rw-r--r--crates/mozart-test-harness/src/pool_builder_parser.rs2
-rw-r--r--crates/mozart-test-harness/src/runner.rs2
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;