1
Fork 0

Spans are already 64 bit, just like references, so stop putting them behind indirections

This commit is contained in:
Oli Scherer 2024-04-26 13:09:04 +00:00
parent 4a19711b25
commit e4f8b93454
3 changed files with 6 additions and 10 deletions

View file

@ -912,7 +912,7 @@ impl<'hir> Map<'hir> {
Node::ArrayLenInfer(inf) => inf.span,
Node::PreciseCapturingNonLifetimeArg(param) => param.ident.span,
Node::Synthetic => unreachable!(),
Node::Err(span) => *span,
Node::Err(span) => span,
}
}