rusty-man/tests/snapshots/output__1.52.0_constant_log_static_max_level.snap
Robin Krahl 0a17d717d7
Add tests for Rust 1.52.0
This patch adds tests for Rust 1.52.0.  With Rust 1.52.0, the format of
the search index changed so we have to disable the search index tests.
Otherwise we can copy the snapshots with only small modifications taking
into account the change from simple quotes and apostrophes ("') to
typographically correct ones (“”’).
2021-06-06 11:51:49 +02:00

20 lines
596 B
Plaintext

---
source: tests/output.rs
expression: "get_stdout(&[item])"
---
log Constant log::STATIC_MAX_LEVEL rusty-man
SYNOPSIS
pub const STATIC_MAX_LEVEL: LevelFilter;
DESCRIPTION
The statically resolved maximum log level.
See the crate level documentation for information on how to configure this.
This value is checked by the log macros, but not by the `Log`ger returned by the `logger`
function. Code that manually calls functions on that value should compare the level against
this value.