Inline and remove LoweringContext::handler()
.
It has a single call site.
This commit is contained in:
parent
8be1d253d2
commit
61f93563d8
2 changed files with 2 additions and 6 deletions
|
@ -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 {}..{}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue