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

⬆️ rust-analyzer #116136

Closed
wants to merge 68 commits into from
Closed

⬆️ rust-analyzer #116136

wants to merge 68 commits into from

Conversation

lnicola
Copy link
Member

@lnicola lnicola commented Sep 25, 2023

r? @ghost

bors and others added 10 commits September 22, 2023 15:31
…arms, r=Veykril

Deunwrap add_missing_match_arms

Last subtask of rust-lang#15398
…ock, r=Veykril

minor : Deunwrap convert_comment_block and desugar_doc_comment

Closes subtask 13 of rust-lang#15398 . I still don't know a more idiomatic way for the for loops I added, any suggestion would make me happy.
extend check.overrideCommand and buildScripts.overrideCommand docs

Extend check.overrideCommand and buildScripts.overrideCommand docs regarding invocation strategy and location.

However something still seems a bit odd -- the docs for `invocationStrategy`/`invocationLocation` talk about "workspaces", but the setting that controls which workspaces are considered is called `linkedProjects`. Is a project the same as a workspace here or is there some subtle difference?
add option to show full function signatures in completion docs

implements rust-lang#15538

with `"rust-analyzer.completion.fullFunctionSignatures.enable": false`:
![image](https://github.com/rust-lang/rust-analyzer/assets/59714841/ff739ad1-9975-461f-a62d-22c7823e7b71)

with `"rust-analyzer.completion.fullFunctionSignatures.enable": true`:
![image](https://github.com/rust-lang/rust-analyzer/assets/59714841/9bc98300-cef6-44ef-a353-dcf35cd36fce)
…albasi

minor: hover_simple refactor

A minor refactor of `hover_simple` opportunity I noticed while skimming through the code.

- `if let`s -> `match`
- `iter::once(x).cycle` -> `iter::repeat`
- `classify_token` -> `classify_node`
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 25, 2023
@rustbot
Copy link
Collaborator

rustbot commented Sep 25, 2023

Some changes occurred in src/tools/rust-analyzer

cc @rust-lang/rust-analyzer

@rust-log-analyzer

This comment has been minimized.

@lnicola
Copy link
Member Author

lnicola commented Sep 25, 2023

CC @HKalbasi

error[E0725]: the feature rustc_private is not in the list of allowed features

@HKalbasi
Copy link
Member

Hmm, is it renamed? It worked on my machine's nightly.

@lnicola
Copy link
Member Author

lnicola commented Sep 25, 2023

Maybe #![feature(rustc_private)] is disallowed by the CI?

@HKalbasi
Copy link
Member

Ah, I missed the allowed in the error message, and read it as is not in the list of features.

It seems we should add rustc_private here.

@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Sep 25, 2023
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer
Copy link
Collaborator

The job mingw-check failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
GITHUB_ACTION=__run_7
GITHUB_ACTIONS=true
GITHUB_ACTION_REF=
GITHUB_ACTION_REPOSITORY=
GITHUB_ACTOR=lnicola
GITHUB_API_URL=https://api.github.com
GITHUB_BASE_REF=master
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_2f467f08-1fe4-42f1-b739-e88cbb0b4c5f
GITHUB_EVENT_NAME=pull_request
---
GITHUB_SERVER_URL=https://github.com
GITHUB_SHA=e20b8f75cac6576dae0d59793372d1adc2ff2818
GITHUB_STATE=/home/runner/work/_temp/_runner_file_commands/save_state_2f467f08-1fe4-42f1-b739-e88cbb0b4c5f
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_2f467f08-1fe4-42f1-b739-e88cbb0b4c5f
GITHUB_TRIGGERING_ACTOR=lnicola
GITHUB_WORKFLOW_REF=rust-lang/rust/.github/workflows/ci.yml@refs/pull/116136/merge
GITHUB_WORKFLOW_SHA=e20b8f75cac6576dae0d59793372d1adc2ff2818
GITHUB_WORKSPACE=/home/runner/work/rust/rust
GOROOT_1_18_X64=/opt/hostedtoolcache/go/1.18.10/x64
---
    Checking rustc-dependencies v0.0.0 (/checkout/src/tools/rust-analyzer/crates/rustc-dependencies)
error[E0463]: can't find crate for `hkalbasi_rustc_ap_rustc_abi`
  --> crates/rustc-dependencies/src/lib.rs:34:15
   |
34 |     pub use ::hkalbasi_rustc_ap_rustc_abi::*;

For more information about this error, try `rustc --explain E0463`.
error: could not compile `rustc-dependencies` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...

@lnicola
Copy link
Member Author

lnicola commented Sep 25, 2023

error[E0463]: can't find crate for hkalbasi_rustc_ap_rustc_abi

Huh

@HKalbasi
Copy link
Member

Do you have any idea why should this happen? It is a normal dependency without any cfg and things like that.

@lnicola
Copy link
Member Author

lnicola commented Sep 25, 2023

Nope, maybe we should ask T-infra.

@lnicola lnicola closed this Oct 1, 2023
@lnicola lnicola deleted the sync-from-ra branch October 1, 2023 15:20
@lnicola
Copy link
Member Author

lnicola commented Oct 2, 2023

No answers in https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/.22Can't.20find.20crate.22.20on.20RA.20sync.20PR, not sure what to do about future syncs.

I didn't try to reproduce it locally though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.