-
Couldn't load subscription status.
- Fork 13.9k
Rollup of 8 pull requests #83964
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 #83964
Conversation
…ou-se Add strong_count mutation methods to Rc The corresponding methods were stabilized on `Arc` in rust-lang#79285 (tracking: rust-lang#71983). This patch implements and stabilizes identical methods on the `Rc` types as well.
Do not emit the advanced diagnostics on macros Fixes rust-lang#83510
…cros, r=varkor Trigger `unused_doc_comments` on macros at once Fixes rust-lang#83768
Use AnonConst for asm! constants This replaces the old system which used explicit promotion. See rust-lang#83169 for more background. The syntax for `const` operands is still the same as before: `const <expr>`. Fixes rust-lang#83169 Because the implementation is heavily based on inline consts, we suffer from the same issues: - We lose the ability to use expressions derived from generics. See the deleted tests in `src/test/ui/asm/const.rs`. - We are hitting the same ICEs as inline consts, for example rust-lang#78174. It is unlikely that we will be able to stabilize this before inline consts are stabilized.
… r=varkor forbid `impl Trait` in generic param defaults Fixes rust-lang#83929 Forbid using `impl Trait` in the default types of generic parameters, e.g. `struct Foo<T = impl Trait>`. I assume this was never supposed to be allowed - it seems no UI test used it. Note that using `impl Trait` in this position did not hit a feature gate error; however, this *shouldn't* be a breaking change as any attempt to use it should have hit the ICE in rust-lang#83929 and/or failed to provide a defining use of the `impl Trait`.
…ascii, r=Manishearth Disable using non-ascii identifiers in extern blocks. Fixes rust-lang#83923.
Add suggestion to reborrow mutable references when they're moved in a for loop Address rust-lang#83924
Do not ICE when closure is involved in Trait Alias Impl Trait Fix rust-lang#83613.
|
@bors r+ rollup=never p=5 |
|
📌 Commit d82419b has been approved by |
|
⌛ Testing commit d82419b with merge d1730234b5256adb03e7c80101db720b7f505943... |
|
A job failed! Check out the build log: (web) (plain) Click to see the possible cause of the failure (guessed by this bot) |
|
💔 Test failed - checks-actions |
|
@bors retry |
|
☀️ Test successful - checks-actions |
Successful merges:
unused_doc_commentson macros at once #83816 (Triggerunused_doc_commentson macros at once)impl Traitin generic param defaults #83935 (forbidimpl Traitin generic param defaults)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup