-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Mark PartialEq
as #[rustc_trivial_field_reads]
#143487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Mark PartialEq
as #[rustc_trivial_field_reads]
#143487
Conversation
r? @fee1-dead rustbot has assigned @fee1-dead. Use |
The Miri subtree was changed cc @rust-lang/miri |
This comment has been minimized.
This comment has been minimized.
I'm pretty sure you'd have to bump |
Some changes occurred in exhaustiveness checking cc @Nadrieril |
This comment has been minimized.
This comment has been minimized.
This seems like another contentious thing. I'd recommend getting some discussion first (see also #134588 (comment)), maybe on T-lang Zulip. I wouldn't mind if we use an allow-by-default lint for this, but at present it doesn't look like a trivial change. Maybe incorporate to clippy is another option? |
rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer |
This comment has been minimized.
This comment has been minimized.
69ccdf5
to
c0a2f46
Compare
The job Click to see the possible cause of the failure (guessed by this bot)
|
Closes #134588
Probably needs a crater run