Lukas Wirth
fa53aab6f1
Merge pull request #19541 from Veykril/push-twqrorwqzmwv
...
fix(auto-import): Prefer imports of matching types for argument lists
2025-04-08 07:32:52 +00:00
Lukas Wirth
7255ef1375
fix(auto-import): Prefer imports of matching types for argument lists
2025-04-08 09:21:32 +02:00
Lukas Wirth
33c3f67764
Merge pull request #19511 from snprajwal/fixmes
...
chore: clean up some FIXMEs
2025-04-07 10:30:46 +00:00
BenjaminBrienen
2462624a7d
prefer default over new
2025-04-04 15:49:50 +02:00
Prajwal S N
72c7cd3869
chore: clean up some FIXMEs
...
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-04 17:40:56 +05:30
Lukas Wirth
2b382eb772
fix: Cleanup param name inlay hint filtering
2025-03-31 09:40:57 +02:00
Lukas Wirth
389323ca09
minor: Simplify impl-ty parse validation
2025-03-25 10:14:40 +01:00
Lukas Wirth
749fde9017
Merge pull request #19388 from Veykril/push-oqysrnttwywu
...
feat: parse `unsafe` record fields
2025-03-25 08:12:20 +00:00
Lukas Wirth
452e2ca031
feat: parse unsafe
record fields
2025-03-25 08:55:31 +01:00
Lukas Wirth
ed7e25a0c0
Merge pull request #19347 from Shourya742/2025-03-13-add-diagnostic-for-dnagling-impl-with-lifetime
...
Add diagnostic for missing ambiguity error for impl trait
2025-03-25 07:49:45 +00:00
Lukas Wirth
500ea05aef
chore: Bump dependencies
2025-03-23 08:46:10 +01:00
Lukas Wirth
d4122434dd
chore: Remove unused dependencies
2025-03-23 08:08:17 +01:00
bit-aloo
df56707f35
add syntax validation test for &impl 'a
2025-03-21 20:30:46 +05:30
bit-aloo
4389c43313
add syntax validation test for ambiguous +
2025-03-21 20:30:46 +05:30
bit-aloo
16d7b83d6b
validate_impl_object_ty: Add diagnostics for and ambiguous .
2025-03-21 20:30:40 +05:30
Lukas Wirth
d31301cbe7
refactor: Reduce codegen burden for SyntaxNode
and SyntaxToken
2025-03-21 12:14:39 +01:00
Ali Bektas
477b987179
Observe unsafeness when generating manual impls of former derives
2025-03-17 21:55:27 +01:00
BenjaminBrienen
7535bb4661
cargo fmt
2025-03-15 21:32:01 +01:00
BenjaminBrienen
70fc7b98c6
edition = "2024"
2025-03-15 21:32:01 +01:00
BenjaminBrienen
e70a9c5b9e
rust-version = "1.85"
2025-03-15 21:32:01 +01:00
BenjaminBrienen
aad66c7bf1
Fix 2024 syntax errors
2025-03-15 21:32:01 +01:00
Vishruth-Thimmaiah
53f3e6fd5f
feat: for loop to while let assist
2025-03-14 19:15:37 +05:30
Lukas Wirth
476a0cb740
Merge pull request #19314 from snprajwal/variantdef-impl
...
fix(hir): `VariantDef` is `impl HasSource`
2025-03-10 08:13:24 +00:00
Shoyu Vanilla
5b202cb663
fix: Prevent wrong invocations of needs_parens_in
with non-ancestral "parent"s
2025-03-09 18:54:22 +09:00
Shoyu Vanilla
c6ea7cbafa
internal: Migrate inline_local_variable
to SyntaxEditor
2025-03-09 15:51:37 +09:00
Prajwal S N
39391b0d38
fix(hir): VariantDef
is impl HasSource
...
A new syntax node `ast::VariantDef` has been introduced to map between the HIR node and the AST.
The files have been updated with `cargo test -p xtask`.
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-03-08 01:25:27 +05:30
Laurențiu Nicola
3c394c61b8
Merge pull request #19265 from Shourya742/2025-03-01-add-dangling-dyn-diagnostic
...
feat: Add diagnostic for dangling dyn and impl
2025-03-05 05:58:31 +00:00
bit-aloo
af959f9031
Add dangling impl
...
- Adds dangling impl diagnostics
- Rename validation test from dangling_impl to dangling_iml_ref
2025-03-03 15:58:33 +05:30
bit-aloo
0b97ae26bf
add diagnostic for dangling impl
2025-03-02 19:42:42 +05:30
bit-aloo
afe6e5ba0f
add diagnostic for dangling dyn
2025-03-02 19:41:39 +05:30
Lukas Wirth
1ce1f087da
Merge pull request #19253 from ShoyuVanilla/migrate-convert-bool-then
...
internal: Migrate `convert_bool_then` to `SyntaxEditor`
2025-03-02 07:21:04 +00:00
Lukas Wirth
76567ee28d
Merge pull request #19251 from Veykril/push-tkmpqtzxynxk
...
Remove syntax editing from parenthesis computation
2025-03-01 17:46:07 +00:00
Lukas Wirth
570c6adcd3
Remove syntax editing from parenthesis computation
2025-03-01 18:32:04 +01:00
Lukas Wirth
8f319240b4
Cleanup string handling in syntax highlighting
2025-03-01 17:44:29 +01:00
Shoyu Vanilla
37822d5917
Migrate convert_bool_then
to SyntaxEditor
...
Update assist docs
2025-03-01 13:12:15 +09:00
Lukas Wirth
e92dc3fd80
Have inline_local_variable use precedence calculation for parentheses
2025-02-28 11:03:33 +01:00
Lukas Wirth
2c4ef382d6
Merge pull request #19249 from Veykril/push-noosrywrsuvn
...
Fix prefix adjustment hints unnecessarily introducing parens
2025-02-28 09:33:36 +00:00
Lukas Wirth
f655062cb0
Fix prefix adjustment hints unnecessarily introducing parens
2025-02-28 10:18:10 +01:00
BenjaminBrienen
b19ef6b046
fix doc tests
2025-02-27 14:58:46 +01:00
BenjaminBrienen
bd7375a58f
enable doctest
2025-02-27 14:58:46 +01:00
Giga Bowser
f155aef64d
internal: Migrate remove_unused_param
assist to SyntaxEditor
2025-02-25 11:52:13 -05:00
Giga Bowser
93c9f06870
fix: Properly handle removals in SyntaxEditor
2025-02-25 11:52:13 -05:00
Giga Bowser
b4f2d62952
internal: Improve reporting of intersecting changes
2025-02-25 11:46:45 -05:00
Shoyu Vanilla
a0b9931832
Add take()
method to SyntaxEditor
2025-02-24 22:42:57 +09:00
Shoyu Vanilla
f06f1b81bb
Migrate some leftovers in add_missing_match_arms
2025-02-24 22:41:52 +09:00
Shoyu Vanilla
8b947d7a12
internal: Remove mutable syntax tree usages from add_missing_match_arms
assist
2025-02-14 02:36:05 +09:00
Lukas Wirth
7fd6f72007
Merge pull request #19070 from Veykril/push-wpqzmznymtrn
...
Remove mutable syntax tree shenanigans from adjustment hints
2025-01-29 13:58:18 +00:00
Lukas Wirth
f61d31b144
Remove mutable syntax tree shenanigans from adjustment hints
2025-01-29 14:42:37 +01:00
Lukas Wirth
07a09c154e
Merge pull request #19015 from Wilfred/mdbook
...
manual: Convert to mdbook
2025-01-28 16:19:37 +00:00
Shoyu Vanilla
7de0b2e75a
feat: Implement default-field-values
2025-01-27 19:38:35 +09:00