We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10cee1a commit 7d29193Copy full SHA for 7d29193
compiler/rustc_borrowck/src/nll.rs
@@ -379,7 +379,12 @@ fn for_each_region_constraint<'tcx>(
379
))
380
}
381
};
382
- with_msg(format!("where {}: {:?}", subject, req.outlived_free_region,))?;
+ with_msg(format!("where {}: {:?}", subject, req.outlived_free_region))?;
383
+ }
384
+
385
+ for data in &closure_requirements.opaque_types {
386
+ let (key, hidden_ty) = data.instantiate(tcx, |vid| ty::Region::new_var(tcx, vid));
387
+ with_msg(format!("where {key:?} = {hidden_ty:?}"))?;
388
389
Ok(())
390
0 commit comments