There was an error while loading. Please reload this page.
1 parent 78d8ef1 commit e77c8cdCopy full SHA for e77c8cd
1 file changed
crates/env_filter/src/filter.rs
@@ -98,6 +98,7 @@ impl Builder {
98
/// See the [Enabling Logging] section for more details.
99
///
100
/// [Enabling Logging]: ../index.html#enabling-logging
101
+ #[cfg(feature = "std")]
102
pub fn parse(&mut self, filters: &str) -> &mut Self {
103
#![allow(clippy::print_stderr)] // compatibility
104
@@ -108,7 +109,6 @@ impl Builder {
108
109
} = parse_spec(filters);
110
111
for error in errors {
- #[cfg(feature = "std")]
112
eprintln!("warning: {error}, ignoring it");
113
}
114
0 commit comments