diff --git a/crates/ruff_db/src/testing.rs b/crates/ruff_db/src/testing.rs index c32c57d37c..df35d6aec5 100644 --- a/crates/ruff_db/src/testing.rs +++ b/crates/ruff_db/src/testing.rs @@ -213,6 +213,7 @@ impl Default for LoggingBuilder { } } +#[must_use = "Dropping the guard unregisters the tracing subscriber."] pub struct LoggingGuard { _guard: tracing::subscriber::DefaultGuard, }