# Function rustc_hir_typeck::upvar::migration_suggestion_for_2229

source ·

    fn migration_suggestion_for_2229(
        tcx: TyCtxt<'_>,
        need_migrations: &[NeededMigration]
    ) -> (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.