Skip to content

Commit 78b8d12

Browse files
committed
Fix rebase
1 parent 0da4c44 commit 78b8d12

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

compiler/rustc_ast_lowering/src/expr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
136136
this.lower_block(body, false),
137137
this.lower_label(*opt_label),
138138
hir::LoopSource::Loop,
139-
this.lower_span(span),
139+
this.lower_span(*span),
140140
)
141141
}),
142142
ExprKind::TryBlock(body) => self.lower_expr_try_block(body),

compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -740,8 +740,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
740740
if infcx
741741
.type_implements_trait(
742742
tcx.lang_items().clone_trait().unwrap(),
743-
tcx.erase_regions(ty),
744-
ty::List::empty(),
743+
[tcx.erase_regions(ty)],
745744
self.param_env,
746745
)
747746
.must_apply_modulo_regions()

0 commit comments

Comments
 (0)