2015-01-02 14:44:21 -08:00
|
|
|
macro_rules! e {
|
2013-05-22 16:07:02 -04:00
|
|
|
($inp:ident) => (
|
|
|
|
|
$nonexistent
|
2020-02-16 16:47:24 +03:00
|
|
|
//~^ ERROR expected expression, found `$`
|
2013-05-22 16:07:02 -04:00
|
|
|
);
|
2015-01-02 14:44:21 -08:00
|
|
|
}
|
2013-05-22 16:07:02 -04:00
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
|
e!(foo);
|
|
|
|
|
}
|