From 951118b74f0cd6f61116ba9d21bb08e6af49cdf0 Mon Sep 17 00:00:00 2001 From: Seo Sanghyeon Date: Wed, 4 Mar 2015 14:58:35 +0900 Subject: Fix quoting of ?Sized --- src/test/run-pass-fulldeps/quote-tokens.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (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 4e6f9b46402..a9b77419b9a 100644 --- a/src/test/run-pass-fulldeps/quote-tokens.rs +++ b/src/test/run-pass-fulldeps/quote-tokens.rs @@ -1,4 +1,4 @@ -// Copyright 2015 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -43,6 +43,8 @@ fn syntax_extension(cx: &ExtCtxt) { let _m: Vec = quote_matcher!(cx, $($foo:tt,)* bar); let _n: syntax::ast::Attribute = quote_attr!(cx, #![cfg(foo, bar = "baz")]); + + let _o: Option> = quote_item!(cx, fn foo() {}); } fn main() { -- cgit 1.4.1-3-g733a5