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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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() {}