about summary refs log tree commit diff
path: root/src/libsyntax_ext
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_ext
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_ext')
-rw-r--r--src/libsyntax_ext/concat_idents.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_ext/concat_idents.rs b/src/libsyntax_ext/concat_idents.rs
index 3d5f32eadb3..09c23682cd7 100644
--- a/src/libsyntax_ext/concat_idents.rs
+++ b/src/libsyntax_ext/concat_idents.rs
@@ -17,7 +17,7 @@ use syntax::parse::token;
 use syntax::parse::token::str_to_ident;
 use syntax::ptr::P;
 
-pub fn expand_syntax_ext<'cx>(cx: &mut ExtCtxt, sp: Span, tts: &[TokenTree])
+pub fn expand_syntax_ext<'cx>(cx: &'cx mut ExtCtxt, sp: Span, tts: &[TokenTree])
                               -> Box<base::MacResult+'cx> {
     if !cx.ecfg.enable_concat_idents() {
         feature_gate::emit_feature_err(&cx.parse_sess.span_diagnostic,