-
Couldn't load subscription status.
- Fork 13.9k
Rollup of 14 pull requests #74375
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 14 pull requests #74375
Conversation
It's unused.
When encountering a local binding with a type that isn't completed, the parser will reach a `=` token. When this happen, consider the type "complete" as far as the parser is concerned to avoid further errors being emitted by parse recovery logic.
Fixes some missing punctuation, and adds a blank line for a more concise summary.
This now reuses `fn discriminant_ty` in project, removing some code duplication. Doing so made me realize that we previously had a disagreement about the discriminant type of generators, with MIR using `u32` and codegen and trait selection using `i32`. We now always use `u32`.
This avoids copying a new `Providers` struct for each downstream crate that wants to use it.
RISC-V GNU/Linux as host platform This PR add a new builder named `dist-riscv64-linux` that builds the compiler toolchain for RISC-V 64-bit GNU/Linux. r? @alexcrichton
…an-DPC Clean up E0715 explanation r? @Dylan-DPC
…an-DPC Clean up E0716 explanation r? @Dylan-DPC
…Mark-Simulacrum Remove `Compiler::compile()`. It's unused. r? @Mark-Simulacrum
…entors, r=Manishearth Add option to collapse automatically implementors Fixes rust-lang#73403 It adds an option (enabled by default) which collapses all implementors impl blocks. r? @kinnison cc @rust-lang/rustdoc
…m-margin, r=Dylan-DPC Add margin after doc search results I found it not really on computer that the last result is right at the bottom of the page. I find it better with margin below (especially when you hover the last element!). A screenshot to show the result:  r? @kinnison cc @rust-lang/rustdoc @Manishearth @jyn514
improve DiscriminantKind handling Adds a lang item `discriminant_type` for the associated type `DiscriminantKind::Discriminant`. Changes the discriminant of generators from `i32` to `u32`, which should not be observable to fix an oversight where MIR was using `u32` and codegen and typeck used `i32`.
Added docs for `From<c_int>` for `ExitStatus` Partially addresses rust-lang#51430
Update cross-compilation README README seemed rather out of date. I hope the information in my PR is now correct (it was more or less assembled by asking in zulip and learning-by-doing).
Handle case of incomplete local ty more gracefully When encountering a local binding with a type that isn't completed, the parser will reach a `=` token. When this happen, consider the type "complete" as far as the parser is concerned to avoid further errors being emitted by parse recovery logic.
Remove string comparison and use diagnostic item instead r? @eddyb
…u, r=eddyb Initialize default providers only once This avoids copying a new `Providers` struct for each downstream crate that wants to use it. Follow-up to rust-lang#74283 without the perf hit. r? @eddyb
…jonas-schievink Edit docs for rustc_middle::dep_graph::dep_node Fixes some missing punctuation, and adds a blank line for a more concise summary.
…mulacrum Add a 1.45 release note on lto vs. embed-bitcode I added a bullet for Cargo's use of `embed-bitcode`, since that was even noteworthy enough for the Inside Rust blog. Then more importantly, I added a compatibility note for how this may interact poorly with manually enabling LTO. r? @Mark-Simulacrum
|
📌 Commit 0bde1c3 has been approved by |
|
⌛ Testing commit 0bde1c3 with merge 678cbb21392a4e468326ce3deef6876880aa38a7... |
|
@bors treeclosed=5 hope to shepherd this as long as i'm online |
|
💥 Test timed out |
|
@bors retry |
|
☀️ Test successful - checks-actions, checks-azure |
Successful merges:
Compiler::compile(). #74119 (RemoveCompiler::compile().)From<c_int>forExitStatus#74291 (Added docs forFrom<c_int>forExitStatus)Failed merges:
r? @ghost