-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Rollup of 9 pull requests #110458
Rollup of 9 pull requests #110458
Conversation
This setting is false by default according to rustc code here: https://github.com/rust-lang/rust/blob/master/compiler/rustc_session/src/options.rs#L1236 I tested on a project and confirmed that setting this to false has no effect, the linker flag still appears. Setting it to true removes the linker flag.
I suspect this macro was around before `TypeFoldable`/`TypeVisitable` were derivable. But now it's only used for two types, `Result` and `Option`. Removing the macro and implementing the traits for those types by hand makes the code much simpler.
They both allow for a lifetime other than `'tcx`, but this isn't needed.
Nothing particularly exciting here, but a couple of things I noticed as I was looking for more index conversions to simplify.
The above-mentioned change modified the output of thread-local.rs by changing some variable names. Rather than assume things get put in %0, we capture the variable so the test passes in both the old and new version.
Migrate diagnostics in `rustc_borrowck` sorry for making a new PR, [rust-lang#103559](rust-lang#103559) and [rust-lang#103960](rust-lang#103960). I am crawling, joyfully.
…code-like-that-anyway, r=oli-obk fix false positives for `unused_parens` around unary and binary operations fix rust-lang#110251
…d, r=WaffleLapkin allow `repr(align = x)` on inherent methods Discussion: rust-lang#82232 (comment)
Correct default value for default-linker-libraries This setting is false by default according to rustc code here: https://github.com/rust-lang/rust/blob/master/compiler/rustc_session/src/options.rs#L1236 I tested on a project and confirmed the behavior described. First, with no value, the `-nodefaultlibs` linker flag is present. Setting this to false has no effect, as well. The linker flag still appears. Setting it to true removes the linker flag as expected.
…ros, r=lcnr Clean up traversal macros The declarative macros relating to type folding and visiting can be simplified. r? ``@lcnr``
Various minor Idx-related tweaks Nothing particularly exciting here, but a couple of things I noticed as I was looking for more index conversions to simplify. cc rust-lang/compiler-team#606 r? `@WaffleLapkin`
…ram, r=petrochenkov Encode def span for `ConstParam` Fixes rust-lang#110206 r? ``@petrochenkov``
…i-obk Check freeze with right param-env in `deduced_param_attrs` We're checking if a trait (`Freeze`) holds in a polymorphic function, but not using that function's own (reveal-all) param-env. This causes us to try to eagerly normalize a specializable projection type that has no default value, which causes an ICE. Fixes rust-lang#110171
tests: adapt for LLVM change 5b386b8 The above-mentioned change modified the output of thread-local.rs by changing some variable names. Rather than assume things get put in %0, we capture the variable so the test passes in both the old and new version.
@bors r+ rollup=never p=9 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: previous master: e49122fb1c In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (31656e7): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. |
I think this is all noise: @rustbot label: +perf-regression-triaged |
Successful merges:
rustc_borrowck
#104055 (Migrate diagnostics inrustc_borrowck
)unused_parens
around unary and binary operations #110257 (fix false positives forunused_parens
around unary and binary operations)repr(align = x)
on inherent methods #110313 (allowrepr(align = x)
on inherent methods)ConstParam
#110425 (Encode def span forConstParam
)deduced_param_attrs
#110434 (Check freeze with right param-env indeduced_param_attrs
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup