Type Definition rustc_typeck::check::upvar::MigrationNeededForCapture[][src]

type MigrationNeededForCapture = (Option<HirId>, String, String);
Expand description

Intermediate format to store information needed to generate migration lint. The tuple contains the hir_id pointing to the use that resulted in the corresponding place being captured, a String which contains the captured value’s name (i.e: a.b.c) and a String which contains the reason why migration is needed for that capture