Skip to content

missing_transmute_annotations: add option to ignore in all expansions - #17612

Open
GTimothy wants to merge 1 commit into
rust-lang:masterfrom
GTimothy:missing_transmute_annotations-in_expansions-config-option
Open

missing_transmute_annotations: add option to ignore in all expansions#17612
GTimothy wants to merge 1 commit into
rust-lang:masterfrom
GTimothy:missing_transmute_annotations-in_expansions-config-option

Conversation

@GTimothy

@GTimothy GTimothy commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Working on clippyfying rust-lang/rust we encounter many missing_transmute_annotations triggering inside local macros, this adds an option to disable the lint in all expanded code while preserving the original default behaviour of disabling the lint in external macros.
See: rust-lang/rust#161593

changelog:[missing_transmute_annotations]: add option do disable lint in expanded code

@GTimothy
GTimothy force-pushed the missing_transmute_annotations-in_expansions-config-option branch from 24e2ec9 to c175fdc Compare August 23, 2026 11:06
@GTimothy
GTimothy force-pushed the missing_transmute_annotations-in_expansions-config-option branch from c175fdc to 6a2e9f8 Compare August 23, 2026 12:13
@GTimothy
GTimothy marked this pull request as ready for review August 26, 2026 18:09
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties S-waiting-on-community-reviews Status: This is awaiting for positive reviews from the community before a maintainer is assigned. labels Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-community-reviews Status: This is awaiting for positive reviews from the community before a maintainer is assigned. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants