Fix builds.
This commit is contained in:
parent
dee66a409f
commit
9319f87a7b
@ -76,18 +76,22 @@ pub struct ParseState<'e> {
|
|||||||
|
|
||||||
impl fmt::Debug for ParseState<'_> {
|
impl fmt::Debug for ParseState<'_> {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||||
f.debug_struct("ParseState")
|
let mut f = f.debug_struct("ParseState");
|
||||||
.field("tokenizer_control", &self.tokenizer_control)
|
|
||||||
|
f.field("tokenizer_control", &self.tokenizer_control)
|
||||||
.field("interned_strings", &self.interned_strings)
|
.field("interned_strings", &self.interned_strings)
|
||||||
.field("scope", &self.scope)
|
.field("scope", &self.scope)
|
||||||
.field("global", &self.global)
|
.field("global", &self.global)
|
||||||
.field("stack", &self.stack)
|
.field("stack", &self.stack)
|
||||||
.field("block_stack_len", &self.block_stack_len)
|
.field("block_stack_len", &self.block_stack_len);
|
||||||
.field("external_vars", &self.external_vars)
|
#[cfg(not(feature = "no_closure"))]
|
||||||
.field("allow_capture", &self.allow_capture)
|
f.field("external_vars", &self.external_vars)
|
||||||
.field("imports", &self.imports)
|
.field("allow_capture", &self.allow_capture);
|
||||||
.field("max_expr_depth", &self.max_expr_depth)
|
#[cfg(not(feature = "no_module"))]
|
||||||
.finish()
|
f.field("imports", &self.imports);
|
||||||
|
#[cfg(not(feature = "unchecked"))]
|
||||||
|
f.field("max_expr_depth", &self.max_expr_depth);
|
||||||
|
f.finish()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user