fmt
This commit is contained in:
parent
70f282d469
commit
b4a873f548
1 changed files with 3 additions and 3 deletions
|
@ -119,9 +119,9 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, 'tcx> {
|
||||||
&& !self.upvars.is_empty()
|
&& !self.upvars.is_empty()
|
||||||
{
|
{
|
||||||
item_msg = format!("`{}`", access_place_desc.unwrap());
|
item_msg = format!("`{}`", access_place_desc.unwrap());
|
||||||
debug_assert!(self.body.local_decls[ty::CAPTURE_STRUCT_LOCAL]
|
debug_assert!(
|
||||||
.ty
|
self.body.local_decls[ty::CAPTURE_STRUCT_LOCAL].ty.is_region_ptr()
|
||||||
.is_region_ptr());
|
);
|
||||||
debug_assert!(is_closure_or_generator(
|
debug_assert!(is_closure_or_generator(
|
||||||
Place::ty_from(
|
Place::ty_from(
|
||||||
the_place_err.local,
|
the_place_err.local,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue