rust/tests/ui/lexer/prefixed-lifetime.rs

11 lines
132 B
Rust
Raw Permalink Normal View History

2024-08-26 10:11:13 -05:00
//@ edition: 2021
macro_rules! w {
($($tt:tt)*) => {};
}
w!('foo#lifetime);
//~^ ERROR prefix `'foo` is unknown
fn main() {}