rust/tests/ui/macros/issue-30007.rs
2024-03-03 16:30:48 -03:00

8 lines
128 B
Rust

macro_rules! t {
() => ( String ; ); //~ ERROR macro expansion ignores token `;`
}
fn main() {
let i: Vec<t!()>;
}