Do not recover when parsing stmt in cfg-eval.
This commit is contained in:
@@ -37,7 +37,8 @@ impl<'a> Parser<'a> {
|
||||
|
||||
/// If `force_collect` is [`ForceCollect::Yes`], forces collection of tokens regardless of whether
|
||||
/// or not we have attributes
|
||||
pub(crate) fn parse_stmt_without_recovery(
|
||||
// Public for `cfg_eval` macro expansion.
|
||||
pub fn parse_stmt_without_recovery(
|
||||
&mut self,
|
||||
capture_semi: bool,
|
||||
force_collect: ForceCollect,
|
||||
|
||||
Reference in New Issue
Block a user