macro_rules! debug {
($($args:tt)+) => { ... };
}Expand description
Emits a diagnostic of level Level::Debug with a formatted message.
Debug messages are meant to be hidden from the user by default and shown only when requested (although this behavior is completely in the hands of the selected Emitter), so they should not contain information that cannot be ignored.
Example:
let x = 42;
debug!(span, "variable x holds: {}", x);