From ab3215406d0cd76ea71a554e0f4bdd16331cca7f Mon Sep 17 00:00:00 2001 From: Will Hipschman Date: Sat, 4 Apr 2015 13:13:57 -0700 Subject: Provide context for macro expansions which result in unparsed tokens. Issue #22425 --- src/test/compile-fail/macro-incomplete-parse.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/test') diff --git a/src/test/compile-fail/macro-incomplete-parse.rs b/src/test/compile-fail/macro-incomplete-parse.rs index 53b29ccb0c0..b3ce84c7e6f 100644 --- a/src/test/compile-fail/macro-incomplete-parse.rs +++ b/src/test/compile-fail/macro-incomplete-parse.rs @@ -24,12 +24,12 @@ macro_rules! ignored_pat { () => ( 1, 2 ) //~ ERROR macro expansion ignores token `,` } -ignored_item!(); +ignored_item!(); //~ NOTE caused by the macro expansion here fn main() { - ignored_expr!(); + ignored_expr!(); //~ NOTE caused by the macro expansion here match 1 { - ignored_pat!() => (), + ignored_pat!() => (), //~ NOTE caused by the macro expansion here _ => (), } } -- cgit 1.4.1-3-g733a5