Rollup of 4 pull requests#150715
Closed
JonathanBrouwer wants to merge 53 commits intorust-lang:mainfrom
Closed
Conversation
`lower_anon_const_to_const_arg_direct` to `lower_anon_const_to_const_arg_and_alloc` and `lower_anon_const_to_const_arg`
Example
---
```rust
enum Foo {
Num(i32)
}
impl Foo {
fn try_into_num(self) -> Result<i32, Self> {
if let Self::Num(v) = self {
Ok(v)
} else {
Err(self)
}
}
}
fn handle(foo: Foo) {
foo.try_into_num().$0
}
```
**Before this PR**
```rust
fn handle(foo: Foo) {
if let Ok(${1:try_into_num}) = foo.try_into_num() {
$0
}
}
```
**After this PR**
```rust
fn handle(foo: Foo) {
if let Ok(${1:num}) = foo.try_into_num() {
$0
}
}
```
Allow finding references from doc comments
Bumps [qs](https://github.com/ljharb/qs) from 6.14.0 to 6.14.1. - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](ljharb/qs@v6.14.0...v6.14.1) --- updated-dependencies: - dependency-name: qs dependency-version: 6.14.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…-into Add useless prefix `try_into_` for suggest_name
…yarn/editors/code/qs-6.14.1 Bump qs from 6.14.0 to 6.14.1 in /editors/code
minor: Fix some minor FIXMEs
To reduce the amount of re-allocating the hashtables which can be expensive given the need to re-hash
Pre-allocate intern storages with 64kb of data / 1024 elements
Remove unnecessary `ConstLiteralRef` enum
…nlay-hint-location-links feat: Add location links for generic parameter type hints
internal: Reduce `impl_signature` query dependencies in method resolution
…e-proc-macro-bidirectional-flow proc-macro-srv: support file and local_file via bidirectional callbacks
…rom procmacrosrvcli
…rce-text Fix source text
internal: Clean up proc-macro-srv callback trait
Add a README.md to proc-macro-srv-cli
Migrate `move_arm_cond_to_match_guard` assist to use `SyntaxEditor`
…ecialize fix: Suppress false positive missing assoc item diag on specialization
This way using pidfd_spawnp won't have to rely on procfs, avoiding an unpleasant edge-case
where the child is spawned but we can't get the pid.
And `pidfd.{try_}wait` will be able to return the exit status even after a process has been reaped.
At least on newer kernels.
Refactor function names of `rustc_ast_lowering` close: rust-lang#150062 I'll rebase after rust-lang#149114 is merged. Would it be better to change `lower_const_path_to_const_arg` → `lower_const_path_to_const_arg_and_intern`, `lower_array_length_to_const_arg` → `lower_array_length_to_const_arg_and_intern`? r? `@lcnr`
use PIDFD_GET_INFO ioctl when available
This way using pidfd_spawnp won't have to rely on procfs, avoiding an unpleasant edge-case where the child is spawned but we can't get the pid. And pidfd.{try_}wait will be able to return the exit status even after a process has been reaped. At least on newer kernels.
Tracking issue: rust-lang#82971
Unix implementation for stdio set/take/replace Tracking issue: rust-lang#150667 ACP: rust-lang/libs-team#500
`rust-analyzer` subtree update Subtree update of `rust-analyzer` to rust-lang/rust-analyzer@6a1246b. Created using https://github.com/rust-lang/josh-sync. r? `@ghost`
Contributor
Author
|
@bors r+ rollup=never p=5 |
Collaborator
Collaborator
|
The job Click to see the possible cause of the failure (guessed by this bot) |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
rustc_ast_lowering#150122 (Refactor function names ofrustc_ast_lowering)rust-analyzersubtree update #150702 (rust-analyzersubtree update)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup