Rename Session::span_diagnostic
as Session::dcx
.
This commit is contained in:
parent
9df1576e1d
commit
09af8a667c
66 changed files with 176 additions and 204 deletions
|
@ -139,7 +139,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
|
|||
|
||||
// We should've returned in the for loop above.
|
||||
|
||||
self.tcx.sess.diagnostic().span_bug(
|
||||
self.tcx.sess.dcx().span_bug(
|
||||
p.span,
|
||||
format!(
|
||||
"lower_qpath: no final extension segment in {}..{}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue