Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
src
/
test
/
ui
/
macros
/
macro-non-lifetime.rs
blob: c74aaf42bf21b5276b96905792a856b6e3212f7c [
file
] [
log
] [
blame
]
// Test for issue #50381: non-lifetime passed to :lifetime.
#![
feature
(
macro_lifetime_matcher
)]
macro_rules
!
m
{
(
$x
:
lifetime
)
=>
{
}
}
fn
main
()
{
m
!(
a
);
//~^ ERROR no rules expected the token `a`
}