-
Notifications
You must be signed in to change notification settings - Fork 13k
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 6 pull requests #61105
Rollup of 6 pull requests #61105
Conversation
Adds notes pointing at the non-nullary variants, and uses "custom discriminant" language to be consistent with the Reference.
…ect_lifetime_defaults_map
…d_lang_items, missing_lang_items, postorder_cnums and maybe_unused_extern_crates
…avis Suggest dereferencing on assignment to mutable borrow Fix rust-lang#33570
…=estebank tweak discriminant on non-nullary enum diagnostic Adds notes pointing at the non-nullary variants, and uses "custom discriminant" language to be consistent with the Reference. Fixes rust-lang#61039. r? @estebank
fix dangling reference in Vec::append Turns out I forgot to enable Miri again for the Vec tests. And there was a dangling reference hiding in there! `get_unchecked_mut` is UB to call on an empty vector (there is no memory to get a reference to), and yet this code did it.
Box::into_unique: do the reborrow-to-raw *after* destroying the Box Currently we first "reborrow" the box to a raw pointer, and then `forget` it. When tracking raw pointers more strictly (something I am experimenting with locally in Miri), the "use" induced by passing the box to `forget` invalidates the previously created raw pointer. So adjust my hack from rust-lang#58429 to reorder the two operations.
…oop, r=estebank Fix overflowing literal lint in loops Fixes rust-lang#60459. r? @estebank
@bors r+ p=6 rollup=never |
📌 Commit 92fda92 has been approved by |
⌛ Testing commit 92fda92 with merge e447304dfb00505ac0f2c4accb339d1a2f0eb6a9... |
💔 Test failed - checks-travis |
Your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem. Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@bors retry |
Rollup of 6 pull requests Successful merges: - #59545 (Use arenas to avoid Lrc in queries #2) - #61054 (Suggest dereferencing on assignment to mutable borrow) - #61056 (tweak discriminant on non-nullary enum diagnostic) - #61082 (fix dangling reference in Vec::append) - #61086 (Box::into_unique: do the reborrow-to-raw *after* destroying the Box) - #61098 (Fix overflowing literal lint in loops) Failed merges: r? @ghost
☀️ Test successful - checks-travis, status-appveyor |
📣 Toolstate changed by #61105! Tested on commit fd8e23c. 🎉 edition-guide on windows: test-fail → test-pass (cc @ehuss @Centril @steveklabnik, @rust-lang/infra). |
Tested on commit rust-lang/rust@fd8e23c. Direct link to PR: <rust-lang/rust#61105> 🎉 edition-guide on windows: test-fail → test-pass (cc @ehuss @Centril @steveklabnik, @rust-lang/infra). 🎉 edition-guide on linux: test-fail → test-pass (cc @ehuss @Centril @steveklabnik, @rust-lang/infra).
Successful merges:
Failed merges:
r? @ghost