diff options
| author | bors <bors@rust-lang.org> | 2014-10-07 23:12:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-10-07 23:12:08 +0000 |
| commit | 3b945dcae6dcedd0917652d66edd8ceefb4f73c1 (patch) | |
| tree | 7548c57395f80dd9535a4a5c8677a8068a3885f4 /src/test | |
| parent | 8881c3524b33d45fd632331d51b8de5e9b104ad9 (diff) | |
| parent | a5a11a8ef0ac9d66660d93b0db951eae9497705f (diff) | |
| download | rust-3b945dcae6dcedd0917652d66edd8ceefb4f73c1.tar.gz rust-3b945dcae6dcedd0917652d66edd8ceefb4f73c1.zip | |
auto merge of #17787 : bgamari/rust/fix-quote-method, r=huonw
The previous fix introduced in 75d49c8203405ab0af7a2b8b8698af02868fdbc2 neglected to parse outer attributes as described in #17782.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass-fulldeps/quote-tokens.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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<syntax::ast::Method> = quote_method!(cx, fn foo(&self) {}); + let _k: P<syntax::ast::Method> = quote_method!(cx, #[doc = "hello"] fn foo(&self) {}); } fn main() { |
