blob: 25fa91062c4341acedb13d4f34c9f91b48764401 [file] [log] [blame]
// Ensures that we properly lint
// a removed 'expression' resulting from a macro
// in trailing expression position
macro_rules! expand_it {
() => {
#[cfg(false)] 25; //~ ERROR trailing semicolon in macro
//~| WARN this was previously
}
}
fn main() {
expand_it!()
}