Closed
Description
Hi,
The docs of Parser::parse_nested_block say at the end:
The result is overridden to Err(()) if the closure leaves some input before that point.
However, it seems an UnexpectedToken
error is returned:
ParseError {
kind: Basic(
UnexpectedToken(
Delim(
'=',
),
),
),
location: SourceLocation {
line: 203,
column: 6,
},
},
That also make more sense, I think.
Metadata
Metadata
Assignees
Labels
No labels