diff options
Diffstat (limited to 'src/libfourcc')
| -rw-r--r-- | src/libfourcc/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libfourcc/lib.rs b/src/libfourcc/lib.rs index e4d61c47cc2..9e46da56a8e 100644 --- a/src/libfourcc/lib.rs +++ b/src/libfourcc/lib.rs @@ -72,8 +72,8 @@ pub fn plugin_registrar(reg: &mut Registry) { reg.register_macro("fourcc", expand_syntax_ext); } -pub fn expand_syntax_ext(cx: &mut ExtCtxt, sp: Span, tts: &[ast::TokenTree]) - -> Box<base::MacResult> { +pub fn expand_syntax_ext<'cx>(cx: &'cx mut ExtCtxt, sp: Span, tts: &[ast::TokenTree]) + -> Box<base::MacResult+'cx> { let (expr, endian) = parse_tts(cx, tts); let little = match endian { |
