34805 Commits

Author SHA1 Message Date
Chayim Refael Friedman
7b64b407e8 Correctly handle attr macros placed in cfg_attr in speculative expansion 2025-06-08 01:44:14 +03:00
Chayim Refael Friedman
cc50868148 Remove the optimization of builtin attrs in is_inside_macro_call()
`#[cfg_attr]` is a builtin attr, but it may still contain a macro.
2025-06-08 01:07:55 +03:00
Lukas Wirth
6acff6c1f8
Merge pull request #19908 from rmehri01/rmehri01/diagnostic_attribute_completions
feat: implement attribute completions for diagnostics module
2025-06-06 07:19:13 +00:00
Lukas Wirth
4fd1cdb3e3
Merge pull request #19937 from Veykril/push-rvnylnlnxxyr
fix: Record macro calls for fields in `ChildBySource` impls
2025-06-06 05:45:48 +00:00
Lukas Wirth
cad9cc97e2
Merge pull request #19935 from ChayimFriedman2/exp-diag-show-quickfix
fix: Always include quickfixes for diagnostics, even when diagnostics are disabled
2025-06-06 05:35:52 +00:00
Lukas Wirth
1436449e12
Merge pull request #19936 from ChayimFriedman2/unlinked-file-stable
fix: Stabilize unlinked file diagnostic
2025-06-06 05:35:02 +00:00
Lukas Wirth
8e217cc68a fix: Record macro calls for fields in ChildBySource impls 2025-06-06 07:34:42 +02:00
Chayim Refael Friedman
41f5de12bd Stabilize unlinked file diagnostic 2025-06-06 03:55:57 +03:00
Chayim Refael Friedman
869714aae0 Always include quickfixes for diagnostics, even when diagnostics are disabled 2025-06-06 03:52:32 +03:00
Lukas Wirth
d5665e5ca7
Merge pull request #19933 from Veykril/push-uyxorpyvnzsl
Better parser recovery for macro calls in type bound position
2025-06-05 14:23:04 +00:00
Lukas Wirth
5d3001795a Better parser recovery for macro calls in type bound position 2025-06-05 16:11:30 +02:00
Lukas Wirth
ba4b9f6d51
Merge pull request #19932 from Veykril/push-skzlyntpxpsw
fix: Record macro calls in signatures in `ChildBySource` impls
2025-06-05 13:15:29 +00:00
Lukas Wirth
bb5e6deff5 fix: Record macro calls in signatures in ChildBySource impls 2025-06-05 15:04:50 +02:00
Lukas Wirth
634596e2d7
Merge pull request #19928 from Veykril/push-kznpuqllrvvq
Deduplicate code in proc-macro-srv
2025-06-05 05:36:01 +00:00
Lukas Wirth
02a788bfaa Deduplicate code in proc-macro-srv 2025-06-05 07:25:15 +02:00
Ryan Mehri
b95101ce46 add qualifiers to attribute completions 2025-06-04 11:02:48 -04:00
Ryan Mehri
f1cc7c5c92 match on segments of path and some small cleanup 2025-06-04 08:30:27 -04:00
Lukas Wirth
55b733103e
Merge pull request #19905 from Veykril/push-unwwyqpwqxky
refactor: Cleanup descension stuff
2025-06-04 10:42:38 +00:00
Lukas Wirth
b94e766791 refactor: Cleanup descension stuff 2025-06-04 12:32:02 +02:00
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
Ryan Mehri
7e8079fbad feat: implement completion for diagnostic module 2025-06-02 20:56:20 -04:00
BazookaMusic
34b31f174d simplify expression that checks the offset 2025-06-02 23:28:26 +02:00
Ryan Mehri
fb921c3039 fix: don't duplicate must_use for functions and traits 2025-06-02 15:35:13 -04: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