-
Notifications
You must be signed in to change notification settings - Fork 13.3k
uses_power_alignment: wording tweaks #139059
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
Conversation
661de9f
to
83a3329
Compare
r? @workingjubilee |
83a3329
to
8fca246
Compare
8fca246
to
87ff60c
Compare
I've updated the PR based on this comment. Obviously we'll want more updates to eventually fix the alignment of I also noticed an odd variable name, @rustbot ready |
@@ -1621,15 +1623,13 @@ impl ImproperCTypesDefinitions { | |||
cx: &LateContext<'tcx>, | |||
ty: Ty<'tcx>, | |||
) -> bool { | |||
assert!(cx.tcx.sess.target.os == "aix"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function should be dead code on non-AIX targets so I was confused why it would check the target again here.
@bors r+ This looks good to me. The code changes all seem equivalent and wording is clearer as to what are the implications of this warning. |
…agisa uses_power_alignment: wording tweaks Slightly improves the wording introduced with rust-lang#135552.
Rollup of 12 pull requests Successful merges: - rust-lang#136160 (Remove backticks from `ShouldPanic::YesWithMessage`'s `TrFailedMsg`) - rust-lang#138087 (Initial implementation of `core_float_math`) - rust-lang#139059 (uses_power_alignment: wording tweaks) - rust-lang#139192 (mention provenance in the pointer::wrapping_offset docs) - rust-lang#140312 (Improve pretty-printing of braces) - rust-lang#140404 (rm `TypeVistable` impls for `Canonical`) - rust-lang#140437 (enable msa feature for mips in codegen tests) - rust-lang#140438 (Add `rust.debug-assertions-tools` option) - rust-lang#140439 (miri: algebraic intrinsics: bring back float non-determinism) - rust-lang#140445 (Treat ManuallyDrop as ~const Destruct) - rust-lang#140446 (chore: fix some tests) - rust-lang#140448 (Rename `rustc_query_append!` to `rustc_with_all_queries!`) Failed merges: - rust-lang#140456 (Fix test simd/extract-insert-dyn on s390x) r? `@ghost` `@rustbot` modify labels: rollup
…iaskrgr Rollup of 11 pull requests Successful merges: - rust-lang#136160 (Remove backticks from `ShouldPanic::YesWithMessage`'s `TrFailedMsg`) - rust-lang#139059 (uses_power_alignment: wording tweaks) - rust-lang#139192 (mention provenance in the pointer::wrapping_offset docs) - rust-lang#140312 (Improve pretty-printing of braces) - rust-lang#140404 (rm `TypeVistable` impls for `Canonical`) - rust-lang#140437 (enable msa feature for mips in codegen tests) - rust-lang#140438 (Add `rust.debug-assertions-tools` option) - rust-lang#140439 (miri: algebraic intrinsics: bring back float non-determinism) - rust-lang#140445 (Treat ManuallyDrop as ~const Destruct) - rust-lang#140446 (chore: fix some tests) - rust-lang#140448 (Rename `rustc_query_append!` to `rustc_with_all_queries!`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#139059 - RalfJung:uses_power_alignment, r=nagisa uses_power_alignment: wording tweaks Slightly improves the wording introduced with rust-lang#135552.
Slightly improves the wording introduced with #135552.