diff --git a/src/expr.rs b/src/expr.rs index 0c8b522068..c60bcf4771 100644 --- a/src/expr.rs +++ b/src/expr.rs @@ -2117,7 +2117,7 @@ pub(crate) mod parsing { #[cfg_attr(docsrs, doc(cfg(feature = "parsing")))] impl Parse for ExprLet { fn parse(input: ParseStream) -> Result { - let allow_struct = AllowStruct(false); + let allow_struct = AllowStruct(true); expr_let(input, allow_struct) } }