Function rustc_typeck::check::upvar::migration_suggestion_for_2229[][src]

fn migration_suggestion_for_2229(
    tcx: TyCtxt<'_>,
    need_migrations: &Vec<(HirId, Vec<(Option<HirId>, String, String)>)>
) -> (String, String)
Expand description

Return a two string tuple (s1, s2)

  • s1: Line of code that is needed for the migration: eg: let _ = (&x, ...).
  • s2: Comma separated names of the variables being migrated.