Skip to content

Move standard macros and compiler-generated over to rvalue promotion. #44240

Closed
@eddyb

Description

@eddyb

Now that rvalue promotion is stabilized we can start using it instead of hacky inner statics (that show up in symbol tables, complicate future extensions, etc.), e.g. in panic! and format_args!.

Metadata

Metadata

Assignees

Labels

A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)C-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions