Skip to content

static_mut_refs: Automatic edition migration #123061

Description

@ehuss

#117556 implemented the static_mut_refs change for the 2024 Edition. However, the migration code is marked as maybe-incorrect, which prevents automatic migration. Is it possible to have an automatic migration for this change? If the addr_of! change is unlikely to work (see #123059), what is the scope of manual migration? How many crates will be affected by this change?

If this has a very widespread impact, we should be very certain that we want to move forward without that migration.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-edition-2024Area: The 2024 editionT-langRelevant to the language team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions