We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Parser::current_closure
1 parent 7c4ac06 commit e0192f4Copy full SHA for e0192f4
compiler/rustc_parse/src/parser/mod.rs
@@ -170,7 +170,7 @@ pub struct Parser<'a> {
170
capture_state: CaptureState,
171
/// This allows us to recover when the user forget to add braces around
172
/// multiple statements in the closure body.
173
- pub current_closure: Option<ClosureSpans>,
+ current_closure: Option<ClosureSpans>,
174
/// Whether the parser is allowed to do recovery.
175
/// This is disabled when parsing macro arguments, see #103534
176
pub recovery: Recovery,
0 commit comments