1
Fork 0

Inline and remove LoweringContext::handler().

It has a single call site.
This commit is contained in:
Nicholas Nethercote 2023-12-01 13:52:37 +11:00
parent 8be1d253d2
commit 61f93563d8
2 changed files with 2 additions and 6 deletions

View file

@ -139,7 +139,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
// We should've returned in the for loop above.
self.diagnostic().span_bug(
self.tcx.sess.diagnostic().span_bug(
p.span,
format!(
"lower_qpath: no final extension segment in {}..{}",