We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 240ecf0 commit 03e03e2Copy full SHA for 03e03e2
maud_macros/src/lib.rs
@@ -1,4 +1,3 @@
1
-#![feature(proc_macro_def_site)]
2
#![feature(proc_macro_diagnostic)]
3
#![feature(proc_macro_hygiene)]
4
#![feature(proc_macro_quote)]
@@ -34,7 +33,7 @@ pub fn html_debug(input: TokenStream) -> TokenStream {
34
33
}
35
36
fn expand(input: TokenStream) -> TokenStream {
37
- let output_ident = TokenTree::Ident(Ident::new("__maud_output", Span::def_site()));
+ let output_ident = TokenTree::Ident(Ident::new("__maud_output", Span::mixed_site()));
38
// Heuristic: the size of the resulting markup tends to correlate with the
39
// code size of the template itself
40
let size_hint = input.to_string().len();
0 commit comments