about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2016-05-16 19:59:58 -0400
committerNiko Matsakis <niko@alum.mit.edu>2016-05-31 19:42:22 -0400
commit75543c08c778eb7315d2368072d0ff710fb228eb (patch)
tree069ba2d7d04ca6b583286763527517657f534cfe /src/libsyntax
parent52b2db1cca591a14b9790ce3d11fba39696ae4a7 (diff)
downloadrust-75543c08c778eb7315d2368072d0ff710fb228eb.tar.gz
rust-75543c08c778eb7315d2368072d0ff710fb228eb.zip
simplify HR subtyping back to what we did before
A lot of the refactors, however, seem helpful, so leave those in,
particularly since we may want to make this change in the future.
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ext/quote.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/quote.rs b/src/libsyntax/ext/quote.rs
index ee9a197ce56..871b0d4b1c0 100644
--- a/src/libsyntax/ext/quote.rs
+++ b/src/libsyntax/ext/quote.rs
@@ -422,7 +422,7 @@ pub fn expand_quote_expr<'cx>(cx: &'cx mut ExtCtxt,
     base::MacEager::expr(expanded)
 }
 
-pub fn expand_quote_item<'cx>(cx: &mut ExtCtxt,
+pub fn expand_quote_item<'cx>(cx: &'cx mut ExtCtxt,
                               sp: Span,
                               tts: &[TokenTree])
                               -> Box<base::MacResult+'cx> {