BazookaMusic
d122bd43da
simplify expression that checks the offset
2025-06-02 23:28:26 +02:00
BazookaMusic
4f018d84a9
clippy and more formatting
2025-06-01 01:20:45 +02:00
BazookaMusic
b34e36bc8b
rename function so it makes more sense
2025-06-01 01:16:37 +02:00
BazookaMusic
01837bc0c4
Formatting issues resolved
2025-06-01 01:09:23 +02:00
BazookaMusic
a241d8ebd1
add missing public keyword
2025-06-01 00:47:43 +02:00
BazookaMusic
e3d26cdbb6
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
01a1908a46
Merge pull request #19900 from Veykril/push-zurosouxqxzz
...
fix: Fix manual not containing diagnostics documentation
2025-05-31 12:47:26 +00:00
Lukas Wirth
2428070096
fix: Fix manual not containing diagnostics documentation
2025-05-31 14:36:29 +02:00
Lukas Wirth
cac7468d00
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
1b9fb33652
Account for Generate actions when filtering the allowed ones
2025-05-31 12:29:50 +03:00
Lukas Wirth
9c45a45061
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
ed508c74ac
refactor: Remove unncessary duplication in highlight_related
2025-05-31 07:25:03 +02:00
Lukas Wirth
deeb464492
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
1383bca55c
internal: Restructure some semantics APIs for virtual macro files
2025-05-30 22:03:04 +02:00
Lukas Wirth
1b809b73f6
Add some more hir_expand::files conversions
2025-05-30 14:48:56 +02:00
Lukas Wirth
8d958aab61
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
23738b5d17
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
087cfe3c9f
fix: Fix import insertion not being fully cfg aware
2025-05-29 14:55:09 +02:00
Lukas Wirth
f06e37674d
Merge pull request #19888 from Veykril/push-wylsryzpnnop
...
fix: Recognize salsa cycles in `thread_result_to_response`
2025-05-29 07:10:03 +00:00
Lukas Wirth
d2bc36821f
fix: Recognize salsa cycles in thread_result_to_response
2025-05-29 08:57:45 +02:00
vremyavnikuda
430f75a818
docs:deleting duplicate documentation
2025-05-28 22:17:29 +07:00
Lukas Wirth
d08ab512dd
Merge pull request #19881 from Veykril/push-wsrmttkymyps
...
feat: Desugar assist for `let pat = expr?;` -> `let else`
2025-05-28 09:23:27 +00:00
Lukas Wirth
8231d888cf
feat: Desugar assist for let pat = expr?; -> let else
2025-05-28 11:12:28 +02:00
Lukas Wirth
c205ef756d
Merge pull request #19880 from Veykril/push-xmpxumsrkymk
...
fix: Handle included files better in IDE layer
2025-05-28 08:49:42 +00:00
Lukas Wirth
035cf40337
Merge pull request #19872 from ChayimFriedman2/async-fn-output
...
fix: Fix inference of `AsyncFnX` return type
2025-05-28 08:39:14 +00:00
Lukas Wirth
457e84f4d8
fix: Handle included files better in IDE layer
...
This does not fully fix things, but it introduces a function that can be used to fix occurences.
When using `to_def` functionality, the input node needs to come from the macro expanded include, not the real file that was included.
This does unfortunately add more caller burden, but there is not really a way around it.
2025-05-28 10:38:38 +02:00
Lukas Wirth
fa22119b38
Merge pull request #19876 from ShoyuVanilla/layout-padding
...
feat: Render padding information when hovering on structs
2025-05-28 08:16:38 +00:00
Lukas Wirth
7840bc0ea1
Merge pull request #19879 from Veykril/push-mqykxnqtktuw
...
fix: Fix IDE layer not resolving some macro calls
2025-05-28 05:20:02 +00:00
Shoyu Vanilla
636495cdec
feat: Render padding information when hovering on structs
2025-05-28 14:18:50 +09:00
Lukas Wirth
7ec351ec7c
Back out "Fix IDE resolution of item macros"
...
This backs out commit 3e0ab7219a5464999652beca22698cd46e1e48e8.
2025-05-28 07:09:21 +02:00
Lukas Wirth
711546a329
Drop unnecessay code
2025-05-28 07:05:55 +02:00
Lukas Wirth
cfe488c7a0
fix: Fix IDE layer not resolving some macro calls
2025-05-28 06:58:40 +02:00
Lukas Wirth
f67ee9c7de
Merge pull request #19877 from tgross35/remove-concat-idents
...
chore: Remove support for `concat_idents!`
2025-05-28 04:17:42 +00:00
Trevor Gross
9f94b13d7a
chore: Remove support for concat_idents!
...
`concat_idents!` was deprecated in [1] and will be removed in the near
future. rust-analyzer's support is independent of rustc's, so drop RA
support now to make syncing easier.
[1]: https://github.com/rust-lang/rust/pull/137653
2025-05-28 03:59:32 +00:00
Chayim Refael Friedman
2c5d840fb0
Merge pull request #19875 from ShoyuVanilla/issue-19844
...
fix: Skip pattern analysis on type mismatches
2025-05-27 23:38:38 +00:00
Shoyu Vanilla
a55a3705f6
fix: Skip pattern analysis on type mismatches
2025-05-28 08:11:14 +09:00
Chayim Refael Friedman
5b6ca80458
Merge pull request #19850 from regexident/dyn-semantics
...
Add support for type-erased `Semantics<'db, dyn HirDatabase>`, by use of `DB: ?Sized`
2025-05-27 13:50:27 +00:00
Vincent Esche
68ff7f2878
Make Semantics<'db, DB> support Semantics<'db, dyn HirDatabase>, by use of DB: ?Sized
2025-05-27 10:43:28 +02:00
Chayim Refael Friedman
7baa85d16b
Fix inference of AsyncFnX return type
2025-05-27 06:44:50 +03:00
Chayim Refael Friedman
2e9c2cec04
Merge pull request #19862 from ChayimFriedman2/item-resolve-macro-hir
...
fix: Fix IDE resolution of item macros
2025-05-26 21:34:18 +00:00
vremyavnikuda
57707c2287
fix: formated to clippy
2025-05-26 16:41:49 +07:00
vremyavnikuda
693ff34702
fix: the lines are formatted according to clippy
2025-05-26 16:00:45 +07:00
vremyavnikuda
1e8eacd192
fix: the lines are formatted according to clippy
2025-05-26 15:51:50 +07:00
vremyavnikuda
44612c5f9c
docs: add documentation for find_all_refs constructor search ( #10725 )
2025-05-26 15:51:50 +07:00
Lukas Wirth
94c624e7f5
Merge pull request #19792 from A4-Tacks/fix-generate-mut-trait-impl-indent
...
fix: ide-assists, generate mut trait impl indent
2025-05-26 08:29:22 +00:00
Lukas Wirth
376edac94f
Merge pull request #19819 from Veykril/push-utvzwvwuuvlm
...
Change import prefix default to be by crate
2025-05-26 08:28:16 +00:00
Lukas Wirth
3d67336f65
Merge pull request #19785 from A4-Tacks/fix-generate-new-indent
...
fixes: ide-assists, generate_new indent loses
2025-05-26 07:24:41 +00:00
Lukas Wirth
6b49172242
Merge pull request #19851 from ChayimFriedman2/normalize-exhaustiveness
...
fix: Normalize when checking for uninhabited types for pattern exhaustiveness checking
2025-05-26 07:19:12 +00:00
Lukas Wirth
a493526c92
Merge pull request #19864 from ChayimFriedman2/is-in-macro
...
fix: Properly implement `might_be_inside_macro_call()` using semantic information instead of syntactical hacks
2025-05-26 05:21:01 +00:00
Chayim Refael Friedman
753c62c889
Properly implement might_be_inside_macro_call() using semantic information instead of syntactical hacks
...
And rename it to `is_inside_macro_call()` accordingly.
2025-05-25 20:15:58 +03:00