-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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 8 pull requests #69804
Rollup of 8 pull requests #69804
Conversation
Remove the `no_debug` feature Context: rust-lang#29721 (comment) r? @nikomatsakis
…estebank resolve, inconsistent binding mode: tweak wording Now that we can have e.g. `let Ok(x) | Err(x) = res;`, it's no longer appropriate to refer to "the same *match arm*", so let's tweak the wording. r? @estebank
On mismatched delimiters, only point at empty blocks that are in the same line We point at empty blocks when we have mismatched braces to detect cases where editors auto insert `}` after writing `{`. Gate this to only the case where the entire span is in the same line so we never point at explicitly empty blocks.
reduce test size for Miri The larger sizes take quite a while, and there is probably little point in repeating this quite so often.
fix various typos
…opy, r=oli-obk mir::Local is Copy we can pass it by value in these cases r? @oli-obk
Add `Layout::dangling()` to return a well-aligned `NonNull<u8>` Adds a convenient function to `Layout` to create a `NonNull<u8>` out of a layout to be returned on ZST allocations. This is the first item on the roadmap to support ZSTs in `AllocRef`: rust-lang/wg-allocators#38 (comment) r? @Amanieu
…mulacrum Correct version that relaxed orphan rules Docs say > Prior to Rust 1.40, if the destination type was not part of the current crate then you couldn't implement From directly Version 1.41 of Rust introduced the change to the orphan rules - https://blog.rust-lang.org/2020/01/30/Rust-1.41.0.html#relaxed-restrictions-when-implementing-traits - so this should say > Prior to Rust 1.41...
@bors r+ p=1001 rollup=never |
📌 Commit 8ee7278 has been approved by |
🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened |
⌛ Testing commit 8ee7278 with merge 703fc64f9fa09c3ea37080aa653ee359a9ba96ad... |
Your PR failed (pretty log, 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 |
💔 Test failed - checks-azure |
Your PR failed (pretty log, 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 |
💔 Test failed - checks-azure |
@bors treeclosed- |
@bors retry |
⌛ Testing commit 8ee7278 with merge 52f039cce3f6d141072be54c8146a33934567183... |
@bors treeclosed=1000 retry |
⌛ Testing commit 8ee7278 with merge da3b2b3305c35ce245cb80e4c326c8a038215178... |
Your PR failed (pretty log, 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 |
💔 Test failed - checks-azure |
@bors retry |
☀️ Test successful - checks-azure |
Successful merges:
no_debug
feature #69667 (Remove theno_debug
feature)Layout::dangling()
to return a well-alignedNonNull<u8>
#69794 (AddLayout::dangling()
to return a well-alignedNonNull<u8>
)Failed merges:
r? @ghost