summaryrefslogtreecommitdiff
path: root/dhall_proc_macros/src
diff options
context:
space:
mode:
authorNadrieril2019-05-04 16:13:18 +0200
committerNadrieril2019-05-04 16:13:18 +0200
commit408bba76bd95a2aabd49046443950a37771f6008 (patch)
tree327804cebc1d60477c1c2c9f80ae6e08446c63ef /dhall_proc_macros/src
parent1b1c34b90bb4bf3859b05b1da6db2dcb374996bb (diff)
Thread Spans through the AST
Diffstat (limited to 'dhall_proc_macros/src')
-rw-r--r--dhall_proc_macros/src/quote.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall_proc_macros/src/quote.rs b/dhall_proc_macros/src/quote.rs
index e11bbaa..eaf4946 100644
--- a/dhall_proc_macros/src/quote.rs
+++ b/dhall_proc_macros/src/quote.rs
@@ -11,7 +11,7 @@ pub fn expr(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
let no_import =
|_: &Import| -> X { panic!("Don't use import in dhall::expr!()") };
let expr = expr.map_embed(no_import);
- let output = quote_expr(&expr.unroll(), &Context::new());
+ let output = quote_expr(expr.as_ref(), &Context::new());
output.into()
}