ack parser.parse_ty change in quote_ty! (+ test)
This commit is contained in:
parent
0efafac398
commit
8920181052
2 changed files with 3 additions and 2 deletions
|
|
@ -38,6 +38,8 @@ fn syntax_extension(cx: &ExtCtxt) {
|
|||
|
||||
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) {});
|
||||
|
||||
let _l: P<syntax::ast::Ty> = quote_ty!(cx, &int);
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue