From a5a11a8ef0ac9d66660d93b0db951eae9497705f Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Mon, 6 Oct 2014 10:53:05 -0400 Subject: syntax: Parse outer attributes in quote_method! Fixes #17782. --- src/test/run-pass-fulldeps/quote-tokens.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test') diff --git a/src/test/run-pass-fulldeps/quote-tokens.rs b/src/test/run-pass-fulldeps/quote-tokens.rs index 7b48e7a84b6..8a640387da2 100644 --- a/src/test/run-pass-fulldeps/quote-tokens.rs +++ b/src/test/run-pass-fulldeps/quote-tokens.rs @@ -37,6 +37,7 @@ fn syntax_extension(cx: &ExtCtxt) { assert!(i.is_some()); let _j: P = quote_method!(cx, fn foo(&self) {}); + let _k: P = quote_method!(cx, #[doc = "hello"] fn foo(&self) {}); } fn main() { -- cgit 1.4.1-3-g733a5