mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-23 13:13:17 +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()
|
||||
{
|
||||
item_msg = format!("`{}`", access_place_desc.unwrap());
|
||||
debug_assert!(self.body.local_decls[ty::CAPTURE_STRUCT_LOCAL]
|
||||
.ty
|
||||
.is_region_ptr());
|
||||
debug_assert!(
|
||||
self.body.local_decls[ty::CAPTURE_STRUCT_LOCAL].ty.is_region_ptr()
|
||||
);
|
||||
debug_assert!(is_closure_or_generator(
|
||||
Place::ty_from(
|
||||
the_place_err.local,
|
||||
|
Loading…
Reference in New Issue
Block a user