Skip to content
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

Subtree update of rust-analyzer #117985

Merged
merged 98 commits into from
Nov 17, 2023
Merged

Subtree update of rust-analyzer #117985

merged 98 commits into from
Nov 17, 2023

Conversation

lnicola
Copy link
Member

@lnicola lnicola commented Nov 16, 2023

r? @ghost

Out of band, but required for #117981.

lnicola and others added 30 commits September 18, 2023 12:33
They've been deprecated for four years.

This commit includes the following changes.
- It eliminates the `rustc_plugin_impl` crate.
- It changes the language used for lints in
  `compiler/rustc_driver_impl/src/lib.rs` and
  `compiler/rustc_lint/src/context.rs`. External lints are now called
  "loaded" lints, rather than "plugins" to avoid confusion with the old
  plugins. This only has a tiny effect on the output of `-W help`.
- E0457 and E0498 are no longer used.
- E0463 is narrowed, now only relating to unfound crates, not plugins.
- The `plugin` feature was moved from "active" to "removed".
- It removes the entire plugins chapter from the unstable book.
- It removes quite a few tests, mostly all of those in
  `tests/ui-fulldeps/plugin/`.

Closes rust-lang#29597.
…mment, r=lnicola

Try to update parser/event doc

`TokenSource` and `TreeSink` has been refactored as part of rust-lang#10765, they no longer exist in code repo. This pr tries to remove them from event module level comment to prevent confusion.
fix: find `Self` reference

took a lot of time to debug to find the problem, here should compare the actual `Adt` type

close rust-lang/rust-analyzer#12693
…lnicola

fix: Ignore doc(hidden) attr if no body is present

fixes rust-lang#15782
Add config for preferring / ignoring prelude modules in find_path
Mirrors `PathSegment's` version, except that it always generates a
turbofish
`add_type_ascription` is still left as-is since it's a different assist
Way for setting and removing the type ascription of a let stmt
Due to the way the current tree mutation api works, we need to collect
changes before we can apply them to the real syntax tree, and also can only
switch to a file once.

`destructure_tuple_binding_in_sub_pattern` also gets migrated even
though can't be used.
@lnicola
Copy link
Member Author

lnicola commented Nov 16, 2023

@bors r+ p=1 subtree sync

@bors
Copy link
Contributor

bors commented Nov 16, 2023

📌 Commit 3507a09 has been approved by lnicola

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 16, 2023
@lnicola
Copy link
Member Author

lnicola commented Nov 16, 2023

@bors r-

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 16, 2023
@lnicola
Copy link
Member Author

lnicola commented Nov 16, 2023

@bors r+ p=1 subtree sync

@bors
Copy link
Contributor

bors commented Nov 16, 2023

📌 Commit 949870c has been approved by lnicola

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 16, 2023
@bors
Copy link
Contributor

bors commented Nov 16, 2023

⌛ Testing commit 949870c with merge 2c962ec...

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 16, 2023
Subtree update of `rust-analyzer`

r? `@ghost`

Out of band, but required for rust-lang#117981.
@rust-log-analyzer
Copy link
Collaborator

The job aarch64-gnu failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[TIMING] core::build_steps::tool::ToolBuild { compiler: Compiler { stage: 1, host: aarch64-unknown-linux-gnu }, target: aarch64-unknown-linux-gnu, tool: "error_index_generator", path: "src/tools/error_index_generator", mode: ToolRustc, is_optional_tool: false, source_type: InTree, extra_features: [], allow_features: "" } -- 44.021
[TIMING] core::build_steps::tool::ErrorIndex { compiler: Compiler { stage: 1, host: aarch64-unknown-linux-gnu } } -- 0.000
[TIMING] core::build_steps::doc::ErrorIndex { target: aarch64-unknown-linux-gnu } -- 2.800
Rustbook (aarch64-unknown-linux-gnu) - nomicon
##[error]The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.
##[group]Clock drift check
  local time: Fri Nov 17 00:02:00 UTC 2023
  local time: Fri Nov 17 00:02:00 UTC 2023
Session terminated, killing shell... ...killed.
##[error]The operation was canceled.
Cleaning up orphan processes

@bors
Copy link
Contributor

bors commented Nov 17, 2023

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 17, 2023
@lnicola
Copy link
Member Author

lnicola commented Nov 17, 2023

@bors retry runner quit

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 17, 2023
@bors
Copy link
Contributor

bors commented Nov 17, 2023

⌛ Testing commit 949870c with merge 00bfd6b...

@bors
Copy link
Contributor

bors commented Nov 17, 2023

☀️ Test successful - checks-actions
Approved by: lnicola
Pushing 00bfd6b to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Nov 17, 2023
@bors bors merged commit 00bfd6b into rust-lang:master Nov 17, 2023
12 checks passed
@rustbot rustbot added this to the 1.76.0 milestone Nov 17, 2023
@lnicola lnicola deleted the sync-from-ra branch November 17, 2023 07:56
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (00bfd6b): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
1.9% [1.6%, 2.3%] 2
Regressions ❌
(secondary)
2.6% [2.6%, 2.6%] 1
Improvements ✅
(primary)
-1.8% [-2.8%, -0.8%] 2
Improvements ✅
(secondary)
-1.3% [-1.3%, -1.3%] 1
All ❌✅ (primary) 0.1% [-2.8%, 2.3%] 4

Cycles

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
0.9% [0.8%, 0.9%] 2
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.9% [0.8%, 0.9%] 2

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 676.51s -> 675.609s (-0.13%)
Artifact size: 313.61 MiB -> 313.59 MiB (-0.01%)

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. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet