mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-03 02:23:20 +00:00
fmt
This commit is contained in:
parent
70f282d469
commit
b4a873f548
@ -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…
Reference in New Issue
Block a user