-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 7 pull requests #71556
Rollup of 7 pull requests #71556
Commits on Mar 8, 2020
-
Implement BitOr and BitOrAssign for the NonZero integer types
Thom Chiovoloni committedMar 8, 2020 Configuration menu - View commit details
-
Copy full SHA for 6cdb825 - Browse repository at this point
Copy the full SHA 6cdb825View commit details
Commits on Apr 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3f1a588 - Browse repository at this point
Copy the full SHA 3f1a588View commit details
Commits on Apr 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cdb6bef - Browse repository at this point
Copy the full SHA cdb6befView commit details -
Configuration menu - View commit details
-
Copy full SHA for b359fe1 - Browse repository at this point
Copy the full SHA b359fe1View commit details -
Apply suggestions from code review
Co-Authored-By: Ralf Jung <post@ralfj.de>
Configuration menu - View commit details
-
Copy full SHA for 9a1c7db - Browse repository at this point
Copy the full SHA 9a1c7dbView commit details
Commits on Apr 16, 2020
-
Implement
Box::into_raw
based onBox::leak
… instead of the other way around.
Configuration menu - View commit details
-
Copy full SHA for 7709d20 - Browse repository at this point
Copy the full SHA 7709d20View commit details
Commits on Apr 25, 2020
-
Replace filter_map().next() calls with find_map()
These are semantically the same, but `find_map()` is more concise.
Configuration menu - View commit details
-
Copy full SHA for 4282776 - Browse repository at this point
Copy the full SHA 4282776View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19c29c4 - Browse repository at this point
Copy the full SHA 19c29c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1fbd79 - Browse repository at this point
Copy the full SHA b1fbd79View commit details -
Configuration menu - View commit details
-
Copy full SHA for df99de5 - Browse repository at this point
Copy the full SHA df99de5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 966a295 - Browse repository at this point
Copy the full SHA 966a295View commit details -
Use the correct bound for
Cursor
Send
Co-Authored-By: Amanieu d'Antras <amanieu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 78a034d - Browse repository at this point
Copy the full SHA 78a034dView commit details -
Rollup merge of rust-lang#69041 - petrochenkov:stabmodispan, r=Amanieu
proc_macro: Stabilize `Span::resolved_at` and `Span::located_at` Introduced in rust-lang#47149. Part of rust-lang#54725. Motivation: rust-lang#68716 (comment). Identifiers in proc macros may want to inherit span locations for diagnostics from one tokens (e.g. some tokens from the macro input), but resolve those identifiers from some different location (e.g. from the macro's definition site). This becomes especially important when multiple resolution locations become available with stabilization of [`Span::mixed_site`](rust-lang#68716). Why I think this is the right API for setting span's location and hygiene - rust-lang#69041 (comment). r? @dtolnay
Configuration menu - View commit details
-
Copy full SHA for 7b7c63c - Browse repository at this point
Copy the full SHA 7b7c63cView commit details -
Rollup merge of rust-lang#69813 - thomcc:nonzero-bitor, r=Amanieu
Implement BitOr and BitOrAssign for the NonZero integer types This provides overloaded operators for `NonZero$Int | NonZero$Int`, `NonZero$Int | $Int`, and `$Int | NonZero$Int`. It also provides `BitOrAssign` where `self` is `NonZero$Int`, for symmetry. It's a pretty small conceptual addition, but is good becasue but avoids a case where the operation is obviously sound, but you'd otherwise need unsafe to do it. In crates trying to minimize `unsafe` usage, this is unfortunate and makes working with `NonZero` types often not worth it, even if the operations you're doing are clearly sound. I've marked these as stable as I've been told in the past that trait impls are automatically stable. I'm happy to change it to unstable if this wasn't correct information. I'm not entirely confident what version I should have put down, so I followed https://www.whatrustisit.com. Hopefully it's correct for this. Apologies in advance if this has come up before, but I couldn't find it.
Configuration menu - View commit details
-
Copy full SHA for b6e03c4 - Browse repository at this point
Copy the full SHA b6e03c4View commit details -
Rollup merge of rust-lang#70712 - :stabilize-remove-entry, r=Amanieu
stabilize BTreeMap::remove_entry This PR stabilizes `BTreeMap::remove_entry` as implemented in rust-lang#68378. Closes rust-lang#66714
Configuration menu - View commit details
-
Copy full SHA for 29fd528 - Browse repository at this point
Copy the full SHA 29fd528View commit details -
Rollup merge of rust-lang#71168 - SimonSapin:into_raw_non_null, r=Ama…
…nieu Deprecate `{Box,Rc,Arc}::into_raw_non_null` Per ongoing FCP at rust-lang#47336 (comment) See also rust-lang#47336 (comment)
Configuration menu - View commit details
-
Copy full SHA for 939c932 - Browse repository at this point
Copy the full SHA 939c932View commit details -
Rollup merge of rust-lang#71544 - cuviper:filter_map_next, r=Mark-Sim…
…ulacrum Replace filter_map().next() calls with find_map() These are semantically the same, but `find_map()` is more concise.
Configuration menu - View commit details
-
Copy full SHA for 9709785 - Browse repository at this point
Copy the full SHA 9709785View commit details -
Rollup merge of rust-lang#71545 - Askaholic:patch-1, r=jonas-schievink
Fix comment in docstring example for Error::kind Saw it while reading the docs.
Configuration menu - View commit details
-
Copy full SHA for ecef6c7 - Browse repository at this point
Copy the full SHA ecef6c7View commit details -
Rollup merge of rust-lang#71548 - crlf0710:cursor_bounds, r=Amanieu
Add missing Send and Sync impls for linked list Cursor and CursorMut. Someone pointed out these to me, and i think it's indeed reasonable to add those impl. r? @Amanieu
Configuration menu - View commit details
-
Copy full SHA for 82642d7 - Browse repository at this point
Copy the full SHA 82642d7View commit details