-
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 16 pull requests #78421
Merged
Merged
Rollup of 16 pull requests #78421
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Allows getting the slices directly, rather than just through an iterator as in `array_chunks(_mut)`. The constructors for those iterators are then written in terms of these methods, so the iterator constructors no longer have any `unsafe` of their own.
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
This change is needed for compiler-builtins to check for this feature when implementing memcpy/memset. See: rust-lang/compiler-builtins#365 The change just does compile-time detection. I think that runtime detection will have to come in a follow-up CL to std-detect. Like all the CPU feature flags, this just references rust-lang#44839 Signed-off-by: Joe Richey <joerichey@google.com>
Add links Fix typo Use `sequence` Fix typo Fix broken link Fix broken link Fix broken link Fix broken links Fix broken links
Co-authored-by: lcnr <bastian_kauschke@hotmail.de>
…lbertodt Add [T]::as_chunks(_mut) Allows getting the slices directly, rather than just through an iterator as in `array_chunks(_mut)`. The constructors for those iterators are then written in terms of these methods, so the iterator constructors no longer have any `unsafe` of their own. Unstable, of course. rust-lang#74985
…mulacrum add system-llvm-libunwind config option allows using the system-wide llvm-libunwind as the unwinder Workaround for rust-lang#76020
Prefer to use `print_def_path` Follow-up of rust-lang#71310 (comment)
…rk-Simulacrum Add test for bad NLL higher-ranked subtype Fixes rust-lang#57642
Update description for error E0308 Fixes rust-lang#76462 r? @camelid
…Simulacrum Use check-pass in single-use-lifetime ui tests Rationale: the `single_use_lifetimes` lint is used during late name resolution, which is within the scope of `check-pass` and does not require codegen or linking. Helps remove some FIXMES associated with rust-lang#62277. Additionally tidies touched test files.
Add lexicographical comparison doc close rust-lang#72255
Make some functions private that don't have to be public r? @GuillaumeGomez
Use its own `TypeckResults` to avoid ICE Fixes rust-lang#75962
Use ? in core/std macros
…-schievink Fix typo in debug statement
Add some regression tests Closes rust-lang#75763. Closes rust-lang#76179.
fix(docs): typo in BufWriter documentation This PR fixes a small typo in the BufWriter documentation. The current documentation looks like this: ![2020-10-26-111501_438x83_scrot](https://user-images.githubusercontent.com/238549/97160357-83d3a000-177c-11eb-8a35-3cdd3a7d89de.png) The `<u8>` at the end is mangled by Markdown. This PR makes the `BufWriter` documentation like the `BufReader` one: https://github.com/rust-lang/rust/blob/master/library/std/src/io/buffered/bufreader.rs#L16 I'm tagging Steve as per the Rustc dev guide. r? @steveklabnik
Add compiler support for LLVM's x86_64 ERMSB feature This change is needed for compiler-builtins to check for this feature when implementing memcpy/memset. See: rust-lang/compiler-builtins#365 Without this change, the following code compiles, but does nothing: ```rust #[cfg(target_feature = "ermsb")] pub unsafe fn ermsb_memcpy() { ... } ``` The change just does compile-time detection. I think that runtime detection will have to come in a follow-up CL to std-detect. Like all the CPU feature flags, this just references rust-lang#44839 Signed-off-by: Joe Richey <joerichey@google.com>
Fix typo in lint description
…schievink Improve formatting of hash collections docs
📌 Commit 4236d27 has been approved by |
bors
added
the
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
label
Oct 26, 2020
☀️ Test successful - checks-actions |
This was referenced Oct 27, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
merged-by-bors
This PR was explicitly merged by bors.
rollup
A PR which is a rollup
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Successful merges:
print_def_path
#78219 (Prefer to useprint_def_path
)TypeckResults
to avoid ICE #78349 (Use its ownTypeckResults
to avoid ICE)Failed merges:
r? @ghost