migration_suggestion_for_2229 in rustc_hir_typeck::upvar - Rust
Description: Return a two string tuple (s1, s2)

Skip to main content

## migration_suggestion_for_2229

# Function 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.