bors
bc978217b3
Auto merge of #15917 - lnicola:sync-from-rust, r=lnicola
...
internal: Sync from downstream
2023-11-17 08:02:39 +00:00
Laurențiu Nicola
6a0e02dd53
Merge branch 'master' into sync-from-rust
2023-11-17 10:00:45 +02:00
Laurențiu Nicola
59f5d51852
Merge commit '141fc695dca1df7cfc3c9803972ec19bb178dcbc' into sync-from-ra
2023-11-16 22:27:35 +02:00
bors
141fc695dc
Auto merge of #15913 - lnicola:bump-libc, r=lnicola
...
internal: Bump libc
CC https://github.com/rust-lang/rust/pull/117981
2023-11-16 19:50:35 +00:00
Laurențiu Nicola
480cb60be3
Bump libc
2023-11-16 21:48:49 +02:00
bors
37a8790829
Auto merge of #15830 - davidbarsky:davidbarsky/allow-companion-extension-to-call-rust-analyzer, r=davidbarsky
...
code: expose workspaces to other extensions; remove `addProject` command
This (mostly red) PR does three things:
- Exposes two methods to companion extensions (`setWorkspaces` and `notifyRustAnalyzer`).
- `setWorkspaces` is needed to update `linkedProjects` _without_ writing workspace/global configuration.
- `notifyRustAnalyzer` to get the server to pull the new configuration.
- Makes `Ctx` implement `RustAnalyzerExtensionApi` to prevent accidental regressions.
- Remove `rust-analyzer.addProject`, as that will live in a buck2 companion extension. No need for that to be in rust-analyzer!
I can see the utility of combining `notifyRustAnalyzer` and `setWorkspaces` into a single method (`updateWorkspacesAndNotify()`?), but I don't feel strongly about this. My feeling is that this API could be easily changed in the future.
2023-11-16 17:43:14 +00:00
David Barsky
0cd68bfed3
code: expose workspaces to other extensions; remove addProject
command
2023-11-16 12:38:15 -05:00
bors
58de0b130a
Auto merge of #15902 - lnicola:bump-deps, r=Veykril
...
internal: Bump deps pt. 1
2023-11-15 19:37:06 +00:00
Laurențiu Nicola
da24b6fb12
Bump memchr
2023-11-15 21:24:20 +02:00
Laurențiu Nicola
8ea06c8ec8
Bump arbitrary and derive-arbitrary
2023-11-15 21:22:34 +02:00
Laurențiu Nicola
c6fad55c98
Bump bitflags
2023-11-15 21:20:47 +02:00
Laurențiu Nicola
3ed27d21f2
Bump cargo_metadata
2023-11-15 21:18:49 +02:00
Laurențiu Nicola
2814d646cb
Bump rayon
2023-11-15 21:14:56 +02:00
Laurențiu Nicola
b18ce4f8ea
Bump xshell
2023-11-15 21:12:18 +02:00
Laurențiu Nicola
83e6d7938c
Bump tracing-tree again
2023-11-15 21:08:35 +02:00
bors
bae9c084e9
Auto merge of #15904 - davidbarsky:davidbarsky/bump-minimum-vscode-version-to-1.78, r=lnicola
...
editor/code: bump minimum version of VS Code to 1.78
Undoes https://github.com/rust-lang/rust-analyzer/pull/15333 .
2023-11-15 15:34:26 +00:00
David Barsky
df7fa7f680
editor/code: bump minimum version of VS Code to 1.78
2023-11-15 10:32:40 -05:00
bors
1d3bf72808
Auto merge of #15905 - lnicola:tsconfig, r=lnicola
...
minor: Tweak tsconfig.json
CC https://github.com/rust-lang/rust-analyzer/pull/15904
2023-11-15 15:13:03 +00:00
Laurențiu Nicola
8e8e7de93b
Tweak tsconfig.json
2023-11-15 17:08:39 +02:00
bors
b8b4b22c1b
Auto merge of #15903 - Veykril:inner-diag, r=Veykril
...
Fix builtin line! expansion
`concat` expects only literals, not whole syntax nodes, so we need to expand as such
2023-11-15 13:21:17 +00:00
Lukas Wirth
e8c4007cfc
Fix builtin line! expansion
2023-11-15 14:06:10 +01:00
Laurențiu Nicola
c66084b9c6
Bump ra-ap-rustc_index and ra-ap-rustc_abi
2023-11-15 13:42:13 +02:00
Laurențiu Nicola
b267f6b071
Bump ra-ap-rustc_lexer
2023-11-15 13:40:43 +02:00
Laurențiu Nicola
829cf8db4c
Bump dissimilar
2023-11-15 13:34:56 +02:00
Laurențiu Nicola
572583262c
Bump text-size
2023-11-15 13:33:03 +02:00
Laurențiu Nicola
a1f81a7e75
Bump chalk
2023-11-15 13:31:45 +02:00
Laurențiu Nicola
441e8c71f1
Remove outdated comment
2023-11-15 13:27:48 +02:00
Laurențiu Nicola
c4dfa06b9d
Bump tracing-log
2023-11-15 13:25:19 +02:00
Laurențiu Nicola
1fc056ec93
Bump indexmap
2023-11-15 13:21:34 +02:00
Laurențiu Nicola
2bfd6b659d
Bump serde_json
2023-11-15 13:17:36 +02:00
Laurențiu Nicola
970a796368
Bump serde
2023-11-15 13:16:07 +02:00
Laurențiu Nicola
cb8434e594
Bump either
2023-11-15 13:07:36 +02:00
Laurențiu Nicola
2dbdaa247b
Bump tracing-subscriber
2023-11-15 13:04:39 +02:00
Laurențiu Nicola
d83620a5ba
Bump tracing-tree
2023-11-15 13:01:54 +02:00
Laurențiu Nicola
f53368dd3f
Bump tracing
2023-11-15 13:00:32 +02:00
Laurențiu Nicola
f66df10f87
Bump itertools
2023-11-15 12:53:56 +02:00
Laurențiu Nicola
dfc885e0fd
Bump anyhow
2023-11-15 12:49:32 +02:00
bors
57ef70cc08
Auto merge of #15901 - Veykril:inner-diag, r=lnicola
...
fix: Diagnose everything in nested items, not just def diagnostics
Turns out we only calculated def diagnostics for these before (was wondering why I wasn't getting any type mismatches)
2023-11-15 10:07:15 +00:00
bors
535eb0da9d
Auto merge of #15874 - DropDemBits:structured-snippet-migrate-4, r=Veykril
...
internal: Migrate assists to the structured snippet API, part 4
Continuing from #15260
Migrates the following assists:
- `add_turbo_fish`
- `add_type_ascription`
- `destructure_tuple_binding`
- `destructure_tuple_binding_in_subpattern`
I did this a while ago, but forgot to make a PR for the changes until now. 😅
2023-11-15 09:54:45 +00:00
bors
a47330308b
Auto merge of #15875 - Young-Flash:fix_grammar, r=Veykril
...
fix `PathSegment` grammar
close https://github.com/rust-lang/rust-analyzer/issues/15778
2023-11-15 09:43:11 +00:00
Lukas Wirth
498f39eae2
fix: Diagnose everything in nested items, not just def diagnostics
2023-11-15 10:34:09 +01:00
bors
c94a6afbe6
Auto merge of #15900 - lnicola:no-32bit-vsix, r=lnicola
...
internal: Disable win32-ia32 VSIX builds
https://code.visualstudio.com/updates/v1_84#_windows-32bit-support-ends
2023-11-15 09:31:18 +00:00
Laurențiu Nicola
fb70fe27d4
Disable win32-ia32 VSIX builds
2023-11-15 11:07:31 +02:00
bors
f888a6eb5f
Auto merge of #15899 - lnicola:sync-from-rust, r=Veykril
...
internal: Sync from rust
2023-11-15 08:01:51 +00:00
Laurențiu Nicola
6b53c09ef5
Merge branch 'master' into sync-from-rust
2023-11-15 09:46:27 +02:00
Laurențiu Nicola
610eafe009
Merge commit '76633199f4316b9c659d4ec0c102774d693cd940' into sync-from-rust
2023-11-15 09:45:17 +02:00
DropDemBits
3f99a56fae
Fix panic in add_type_ascription
...
Assist wasn't applicable when the let statement was missing a pattern
before, so we should do the same now.
2023-11-14 18:43:48 -05:00
DropDemBits
df629627c5
Add tests for LetStmt::set_ty
2023-11-14 17:35:24 -05:00
bors
c1e65aa588
Auto merge of #15895 - Veykril:unsafe-impls-diagnostic, r=Veykril
...
Diagnose missing assoc items in trait impls
2023-11-14 21:11:23 +00:00
Lukas Wirth
723d799ec1
Diagnose missing assoc items in trait impls
2023-11-14 22:00:52 +01:00