1
Fork 0

Rename LayoutCalculator::delay_bug as LayoutCalculator::delayed_bug.

To match with the previous commits.
This commit is contained in:
Nicholas Nethercote 2023-11-30 16:14:38 +11:00
parent c9008c6c8b
commit cb91235131
3 changed files with 5 additions and 5 deletions

View file

@ -282,7 +282,7 @@ pub struct LayoutCx<'tcx, C> {
impl<'tcx> LayoutCalculator for LayoutCx<'tcx, TyCtxt<'tcx>> {
type TargetDataLayoutRef = &'tcx TargetDataLayout;
fn delay_bug(&self, txt: String) {
fn delayed_bug(&self, txt: String) {
self.tcx.sess.span_delayed_bug(DUMMY_SP, txt);
}