Remove reached_eof from ParseSess

It was only ever set in a function which isn't called anywhere.
This commit is contained in:
bjorn3 2023-08-13 11:30:48 +00:00
parent 5f3abbc52f
commit ef2da4a49b
4 changed files with 1 additions and 24 deletions

View file

@ -74,7 +74,6 @@ pub(crate) fn parse_token_trees<'a>(
// because the delimiter mismatch is more likely to be the root cause of error
let mut buffer = Vec::with_capacity(1);
// Not using `emit_unclosed_delims` to use `db.buffer`
for unmatched in unmatched_delims {
if let Some(err) = make_unclosed_delims_error(unmatched, &sess) {
err.buffer(&mut buffer);