mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
9 lines
174 B
Rust
9 lines
174 B
Rust
// Test for issue #50381: non-lifetime passed to :lifetime.
|
|
|
|
macro_rules! m { ($x:lifetime) => { } }
|
|
|
|
fn main() {
|
|
m!(a);
|
|
//~^ ERROR no rules expected the token `a`
|
|
}
|