Add docstring
This commit is contained in:
parent
ad5e18d5e3
commit
acfc708b7c
1 changed files with 3 additions and 0 deletions
|
@ -796,6 +796,9 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
|||
/// - One of the paths starting at this root variable, that is not captured needs Drop **or**
|
||||
/// - One of the paths captured does not implement all the auto-traits its root variable
|
||||
/// implements.
|
||||
///
|
||||
/// Returns a tuple containing a vector of HirIds as well as a String containing the reason
|
||||
/// why root variables whose HirId is contained in the vector should be fully captured.
|
||||
fn compute_2229_migrations(
|
||||
&self,
|
||||
closure_def_id: DefId,
|
||||
|
|
Loading…
Add table
Reference in a new issue