34784 Commits

Author SHA1 Message Date
Lukas Wirth
2dc5aa885a
Merge pull request #19922 from Veykril/push-oxyomxrsplpx
feat: Add `dyn` keyword inlay hints
2025-06-04 09:51:22 +00:00
Lukas Wirth
b9733810bb feat: Add dyn keyword inlay hints 2025-06-04 11:40:05 +02:00
Lukas Wirth
7c3de05e3a Give path segment type anchors their own grammar rule 2025-06-04 11:40:05 +02:00
Lukas Wirth
d2164fe08b Remove unnecessary parameters in inlay-hint computation 2025-06-04 11:31:45 +02:00
Laurențiu Nicola
789d9153e4
Merge pull request #19913 from rust-lang/dependabot/npm_and_yarn/editors/code/tar-fs-2.1.3
chore(deps): bump tar-fs from 2.1.2 to 2.1.3 in /editors/code
2025-06-04 07:18:49 +00:00
Lukas Wirth
d574b1b0d9
Merge pull request #19914 from davidbarsky/davidbarsky/add-some-additional-incrementalism-tests
hir-ty: add incremental tests checking for `infer` invalidation
2025-06-04 07:15:18 +00:00
Laurențiu Nicola
59c1cc48a1
Merge pull request #19921 from ShoyuVanilla/ci-retry
ci: Pin `cargo-workspaces` version to `0.3.6`, again
2025-06-04 07:14:11 +00:00
Shoyu Vanilla
737b878355 ci: Pin cargo-workspaces version to 0.3.6, again 2025-06-04 16:03:00 +09:00
Laurențiu Nicola
134889edea
Merge pull request #19920 from ShoyuVanilla/patch-2
fix: Typo mistake in CI
2025-06-04 06:34:25 +00:00
Shoyu Vanilla (Flint)
51b9c872fa fix: Typo mistake in autopublish workflow 2025-06-04 15:13:44 +09:00
Laurențiu Nicola
0c1272dcbb
Merge pull request #19919 from ShoyuVanilla/patch-1
ci: When autopublishing, remove `xtask` from workspace
2025-06-04 05:29:49 +00:00
Shoyu Vanilla (Flint)
4b5d321e17 ci: When autopublishing, remove xtask from workspace
Revert `cargo-workspaces` version fix
2025-06-04 14:19:18 +09:00
Laurențiu Nicola
9f18f5468d
Merge pull request #19915 from ShoyuVanilla/publish-libs-crash
ci: Pin `cargo-workspaces` to `0.3.6`
2025-06-04 04:26:10 +00:00
David Barsky
98f32c1de1 hir-ty: add incremental tests checking for infer invalidation 2025-06-03 13:48:45 -04:00
Shoyu Vanilla
4b39ff6aea ci: Pin cargo-workspaces to 0.3.6 2025-06-04 00:14:00 +09:00
dependabot[bot]
8a301b6991
chore(deps): bump tar-fs from 2.1.2 to 2.1.3 in /editors/code
Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 2.1.2 to 2.1.3.
- [Commits](https://github.com/mafintosh/tar-fs/commits)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-version: 2.1.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-03 09:11:14 +00:00
Lukas Wirth
cf969d21c3
Merge pull request #19869 from MatrixFrog/publicize_field
Add a quickfix for accessing a private field of a struct
2025-06-03 06:11:28 +00:00
Lukas Wirth
ed2ae943bb
Merge pull request #19894 from ShoyuVanilla/some-query-cycles
fix: Cycle handlers for `HirDatabase::infer, const_param_ty_with_diagnostics`
2025-06-03 06:08:46 +00:00
Lukas Wirth
9edac77f48
Merge pull request #19901 from BazookaMusic/master
Enable Assist edit for tuple<->named struct for the struct and visiblity keywords
2025-06-03 06:07:39 +00:00
Tyler Breisacher
4055436776 Add a quickfix for accessing a private field of a struct 2025-06-02 22:45:34 -07:00
Shoyu Vanilla
fefe86732d fix: Cycle handlers for `HirDatabase::infer, const_param_ty_with_diagnostics 2025-06-03 10:39:38 +09:00
BazookaMusic
34b31f174d simplify expression that checks the offset 2025-06-02 23:28:26 +02:00
Lukas Wirth
25808c1ba1
Merge pull request #19893 from Veykril/push-wzqsompmnlmx
Enhance renaming to include identifiers that are generated from the original symbol
2025-06-02 13:39:04 +00:00
Lukas Wirth
9a786d0008 Support derive-macros for rename prefix magic 2025-06-02 15:27:13 +02:00
Lukas Wirth
96c4455114 fix: Fix edition handling for names in rename logic 2025-06-02 15:27:13 +02:00
Lukas Wirth
42e8e4ac4e Enhance renaming to include identifiers that are generated from the original symbol
Co-authored-by: Jake Goulding <jake.goulding@integer32.com>
2025-06-02 15:26:21 +02:00
Lukas Wirth
04439c8cce
Merge pull request #19904 from Wilfred/project_json_naming
internal: Use 'ProjectJson' consistently
2025-06-02 11:13:14 +00:00
Wilfred Hughes
005d8c59ab internal: Use 'ProjectJson' consistently
The Rust source code previously mised ProjectJson and JsonProject,
and the TypeScript definition didn't match either.

Use 'ProjectJson' everywhere. This is purely an internal change.
2025-06-02 11:21:46 +01:00
Lukas Wirth
b9e6671353
Merge pull request #19897 from aibaars/patch-2
Produce ClosureBinder node in atom.rs
2025-06-02 09:13:04 +00:00
BazookaMusic
5caf570d40 clippy and more formatting 2025-06-01 01:20:45 +02:00
BazookaMusic
03276f8a24 rename function so it makes more sense 2025-06-01 01:16:37 +02:00
BazookaMusic
41cd1732b7 Formatting issues resolved 2025-06-01 01:09:23 +02:00
BazookaMusic
7b200890c4 add missing public keyword 2025-06-01 00:47:43 +02:00
BazookaMusic
43072c3a0b Allow assist edit for converting structs to appear also on struct keyword and on visibility 2025-06-01 00:44:33 +02:00
Lukas Wirth
2a388d1103
Merge pull request #19900 from Veykril/push-zurosouxqxzz
fix: Fix manual not containing diagnostics documentation
2025-06-02
2025-05-31 12:47:26 +00:00
Lukas Wirth
62bacfc37b fix: Fix manual not containing diagnostics documentation 2025-05-31 14:36:29 +02:00
Lukas Wirth
61f8a8b017
Merge pull request #19899 from SomeoneToIgnore/generate-actions
Account for `Generate` actions when filtering the allowed ones
2025-05-31 12:34:33 +00:00
Kirill Bulatov
4870b6b7c1 Account for Generate actions when filtering the allowed ones 2025-05-31 12:29:50 +03:00
Lukas Wirth
cdd0ac27e3
Merge pull request #19898 from Veykril/push-ykumpuwmuvmu
refactor: Remove unncessary duplication in highlight_related
2025-05-31 05:35:49 +00:00
Lukas Wirth
9ee761904e refactor: Remove unncessary duplication in highlight_related 2025-05-31 07:25:03 +02:00
Arthur Baars
55328ba9b4 Update expected test output 2025-05-30 21:16:38 +00:00
Arthur Baars
a91b67e682 Run 'cargo codegen' to update tests 2025-05-30 21:05:12 +00:00
Arthur Baars
7f7079f2bf
Add test for closure_binder
Co-authored-by: Lukas Wirth <me@lukaswirth.dev>
2025-05-30 22:58:13 +02:00
Arthur Baars
fb16d3b7f8
Produce ClosureBinder node in atom.rs 2025-05-30 22:38:31 +02:00
Lukas Wirth
987cd076e2
Merge pull request #19896 from Veykril/push-qyutrlxyznum
internal: Restructure some semantics APIs for virtual macro files
2025-05-30 20:15:15 +00:00
Lukas Wirth
38bf4b1fe1 internal: Restructure some semantics APIs for virtual macro files 2025-05-30 22:03:04 +02:00
Lukas Wirth
f0e39c77cc Add some more hir_expand::files conversions 2025-05-30 14:48:56 +02:00
Lukas Wirth
e65dddaf59
Merge pull request #19861 from vremyavnikuda/docs/find-all-refs-constructor-search
docs: add documentation for find_all_refs constructor search
2025-05-30 06:45:28 +00:00
Lukas Wirth
6feb662a52
Merge pull request #19890 from Veykril/push-kzzntrpllsqx
fix: Fix import insertion not being fully cfg aware
2025-05-29 13:06:12 +00:00
Lukas Wirth
1f0052a496 fix: Fix import insertion not being fully cfg aware 2025-05-29 14:55:09 +02:00