-
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 #89702
Rollup of 7 pull requests #89702
Commits on Jul 28, 2021
-
stack overflow handler specific openbsd fix.
On this platform, when doing stack allocation, MAP_STACK is needed otherwise the mapping fails.
Configuration menu - View commit details
-
Copy full SHA for 853ffc7 - Browse repository at this point
Copy the full SHA 853ffc7View commit details
Commits on Aug 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for af83a96 - Browse repository at this point
Copy the full SHA af83a96View commit details
Commits on Sep 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4be574e - Browse repository at this point
Copy the full SHA 4be574eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fdccc7d - Browse repository at this point
Copy the full SHA fdccc7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 325025e - Browse repository at this point
Copy the full SHA 325025eView commit details -
Merge pull request #2 from steffahn/collect_into_array_fix_ub
Improve last commit of rust_lang#75644
Configuration menu - View commit details
-
Copy full SHA for 13bfcb7 - Browse repository at this point
Copy the full SHA 13bfcb7View commit details -
Remove an unnecessary use of unwrap_unchecked
also add a new SAFETY comment and simplify/remove a closure
Configuration menu - View commit details
-
Copy full SHA for 355c7e9 - Browse repository at this point
Copy the full SHA 355c7e9View commit details
Commits on Oct 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 91ad91e - Browse repository at this point
Copy the full SHA 91ad91eView commit details
Commits on Oct 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 10f7769 - Browse repository at this point
Copy the full SHA 10f7769View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64c794c - Browse repository at this point
Copy the full SHA 64c794cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7df32f4 - Browse repository at this point
Copy the full SHA 7df32f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7191b3 - Browse repository at this point
Copy the full SHA b7191b3View commit details -
Re-use logic for adding a suggestion when a lifetime bound is missing…
… on an impl trait
Configuration menu - View commit details
-
Copy full SHA for d3871f5 - Browse repository at this point
Copy the full SHA d3871f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e1941c - Browse repository at this point
Copy the full SHA 5e1941cView commit details
Commits on Oct 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e159d42 - Browse repository at this point
Copy the full SHA e159d42View commit details
Commits on Oct 7, 2021
-
Let unicode-table-generator fail gracefully for bitsets
The "Alphabetic" property in Unicode 14 grew too big for the bitset representation, panicking "cannot pack 264 into 8 bits". However, we were already choosing the skiplist for that anyway, so this doesn't need to be a hard failure. That panic is now a returned `Err`, and then in `emit_codepoints` we automatically defer to skiplist.
Configuration menu - View commit details
-
Copy full SHA for 6b0b417 - Browse repository at this point
Copy the full SHA 6b0b417View commit details -
Configuration menu - View commit details
-
Copy full SHA for 459a7e3 - Browse repository at this point
Copy the full SHA 459a7e3View commit details
Commits on Oct 8, 2021
-
Add documentation to boxed conversions
Among other changes, documents whether allocations are necessary to complete the type conversion. Part of rust-lang#51430 Co-authored-by: Giacomo Stevanato <giaco.stevanato@gmail.com> Co-authored-by: Joshua Nelson <github@jyn.dev>
Configuration menu - View commit details
-
Copy full SHA for 6a52fb7 - Browse repository at this point
Copy the full SHA 6a52fb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85c4a52 - Browse repository at this point
Copy the full SHA 85c4a52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09d1774 - Browse repository at this point
Copy the full SHA 09d1774View commit details
Commits on Oct 9, 2021
-
Co-authored-by: Josh Triplett <josh@joshtriplett.org> Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for fa5a212 - Browse repository at this point
Copy the full SHA fa5a212View commit details -
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 020ec0a - Browse repository at this point
Copy the full SHA 020ec0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3214253 - Browse repository at this point
Copy the full SHA 3214253View commit details -
Rollup merge of rust-lang#75644 - c410-f3r:array, r=yaahc
Add 'core::array::from_fn' and 'core::array::try_from_fn' These auxiliary methods fill uninitialized arrays in a safe way and are particularly useful for elements that don't implement `Default`. ```rust // Foo doesn't implement Default struct Foo(usize); let _array = core::array::from_fn::<_, _, 2>(|idx| Foo(idx)); ``` Different from `FromIterator`, it is guaranteed that the array will be fully filled and no error regarding uninitialized state will be throw. In certain scenarios, however, the creation of an **element** can fail and that is why the `try_from_fn` function is also provided. ```rust #[derive(Debug, PartialEq)] enum SomeError { Foo, } let array = core::array::try_from_fn(|i| Ok::<_, SomeError>(i)); assert_eq!(array, Ok([0, 1, 2, 3, 4])); let another_array = core::array::try_from_fn(|_| Err(SomeError::Foo)); assert_eq!(another_array, Err(SomeError::Foo)); ```
Configuration menu - View commit details
-
Copy full SHA for 1069985 - Browse repository at this point
Copy the full SHA 1069985View commit details -
Rollup merge of rust-lang#87528 - :stack_overflow_obsd, r=joshtriplett
stack overflow handler specific openbsd change.
Configuration menu - View commit details
-
Copy full SHA for 41babca - Browse repository at this point
Copy the full SHA 41babcaView commit details -
Rollup merge of rust-lang#88436 - lf-:stabilize-command-access, r=yaahc
std: Stabilize command_access Tracking issue: rust-lang#44434 (not yet closed but the FCP is done so that should be soon).
Configuration menu - View commit details
-
Copy full SHA for d8868d6 - Browse repository at this point
Copy the full SHA d8868d6View commit details -
Rollup merge of rust-lang#89555 - oli-obk:nll_member_constraint_diag,…
… r=estebank Remove textual span from diagnostic string This is an unnecessary repetition, as the diagnostic prints the span anyway in the source path right below the message. I further removed the identification of the node, as that does not give any new information in any of the cases that are changed in tests. EDIT: also inserted a suggestion that other diagnostics were already emitting
Configuration menu - View commit details
-
Copy full SHA for 3323ba1 - Browse repository at this point
Copy the full SHA 3323ba1View commit details -
Rollup merge of rust-lang#89614 - cuviper:unicode-14, r=joshtriplett
Update to Unicode 14.0 The Unicode Standard [announced Version 14.0](https://home.unicode.org/announcing-the-unicode-standard-version-14-0/) on September 14, 2021, and this pull request updates the generated tables in `core` accordingly. This did require a little prep-work in `unicode-table-generator`. First, rust-lang#81358 had modified the generated file instead of the tool, so that change is now reflected in the tool as well. Next, I found that the "Alphabetic" property in version 14 was panicking when generating a bitset, "cannot pack 264 into 8 bits". We've been using the skiplist for that anyway, so I changed this to fail gracefully. Finally, I confirmed that the tool still created the exact same tables for 13 before moving to 14.
Configuration menu - View commit details
-
Copy full SHA for 123f07f - Browse repository at this point
Copy the full SHA 123f07fView commit details -
Rollup merge of rust-lang#89664 - timClicks:51430-document-boxed-conv…
…ersions, r=m-ou-se Add documentation to boxed conversions Among other changes, documents whether allocations are necessary to complete the type conversion. Part of rust-lang#51430, supersedes rust-lang#89199
Configuration menu - View commit details
-
Copy full SHA for b243dcd - Browse repository at this point
Copy the full SHA b243dcdView commit details -
Rollup merge of rust-lang#89700 - GuillaumeGomez:fix-rustdoc-higher-b…
…ound-html-gen, r=notriddle Fix invalid HTML generation for higher bounds Considering this is a bug, I cherry-picked the commit from rust-lang#89676 so it's merged more quickly. r? `@notriddle`
Configuration menu - View commit details
-
Copy full SHA for 4bbd3eb - Browse repository at this point
Copy the full SHA 4bbd3ebView commit details