mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Fix rebase
This commit is contained in:
parent
0da4c44190
commit
78b8d126db
@ -136,7 +136,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
|
||||
this.lower_block(body, false),
|
||||
this.lower_label(*opt_label),
|
||||
hir::LoopSource::Loop,
|
||||
this.lower_span(span),
|
||||
this.lower_span(*span),
|
||||
)
|
||||
}),
|
||||
ExprKind::TryBlock(body) => self.lower_expr_try_block(body),
|
||||
|
@ -740,8 +740,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
|
||||
if infcx
|
||||
.type_implements_trait(
|
||||
tcx.lang_items().clone_trait().unwrap(),
|
||||
tcx.erase_regions(ty),
|
||||
ty::List::empty(),
|
||||
[tcx.erase_regions(ty)],
|
||||
self.param_env,
|
||||
)
|
||||
.must_apply_modulo_regions()
|
||||
|
Loading…
Reference in New Issue
Block a user