-
Notifications
You must be signed in to change notification settings - Fork 13.4k
intrinsics: rename min_align_of to align_of #142410
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
Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt Some changes occurred to the CTFE machinery Some changes occurred to the intrinsics. Make sure the CTFE / Miri interpreter cc @rust-lang/miri, @RalfJung, @oli-obk, @lcnr Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3 Some changes occurred in compiler/rustc_codegen_gcc Some changes occurred in compiler/rustc_codegen_ssa |
#[allow(deprecated_in_future)] | ||
#[allow(deprecated)] |
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.
I noticed these unnecessary allow(deprecated)
while grepping through the file, and removed them as a drive-by fix.
@bors r+ rollup |
This comment has been minimized.
This comment has been minimized.
@bors r- |
So what is "init" or "extra"? That panic message is not very helpful.^^ Seems to have been added in #138682, Cc @Alexendoo |
From the context of that PR, it seems that now adding more symbols to the rustc symbol list can cause clippy to panic or so. That feels fragile, does it have to be that way...? |
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
31770ea
to
d96b75e
Compare
This comment has been minimized.
This comment has been minimized.
what an odd thing. |
@bors r=WaffleLapkin,workingjubilee |
I'll take a look at improving that |
Thanks! For now, I have made the panic message a bit more clear. |
Rollup of 10 pull requests Successful merges: - #134847 (Implement asymmetrical precedence for closures and jumps) - #141491 (Delegate `<CStr as Debug>` to `ByteStr`) - #141770 (Merge `Cfg::render_long_html` and `Cfg::render_long_plain` methods common code) - #142069 (Introduce `-Zmacro-stats`) - #142158 (Tracking the old name of renamed unstable library features) - #142221 ([AIX] strip underlying xcoff object) - #142340 (miri: we can use apfloat's mul_add now) - #142379 (Add bootstrap option to compile a tool with features) - #142410 (intrinsics: rename min_align_of to align_of) - #142413 (rustc-dev-guide subtree update) r? `@ghost` `@rustbot` modify labels: rollup
Now that
pref_align_of
is gone (#141803), we can give the intrinsic backingalign_of
its proper name.r? @workingjubilee or @bjorn3