Skip to main content

assert_diagnostic_warning

Macro assert_diagnostic_warning 

Source
macro_rules! assert_diagnostic_warning {
    ($output:expr, $msg:expr) => { ... };
}
Expand description

Asserts that an Output contains a warning diagnostic with the given message.