We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TestProcess::_guard
_tracing_guard
1 parent 238e472 commit 1f5c82dCopy full SHA for 1f5c82d
src/process.rs
@@ -180,7 +180,7 @@ impl Default for OsProcess {
180
pub struct TestProcess {
181
pub process: Process,
182
pub console_filter: Handle<EnvFilter, Registry>,
183
- _guard: DefaultGuard, // guard is dropped at the end of the test
+ _tracing_guard: DefaultGuard, // guard is dropped at the end of the test
184
}
185
186
#[cfg(feature = "test")]
@@ -237,7 +237,7 @@ impl From<TestContext> for TestProcess {
237
Self {
238
process: inner,
239
console_filter,
240
- _guard: tracing_subscriber.set_default(),
+ _tracing_guard: tracing_subscriber.set_default(),
241
242
243
0 commit comments