Laurențiu Nicola
|
9e86544698
|
Merge from rust-lang/rust
|
2025-05-20 10:01:00 +03:00 |
|
Stuart Cook
|
9f4e2cc51d
|
Rollup merge of #140035 - fee1-dead-contrib:push-oszwkkvmpkks, r=jieyouxu,wesleywiser
Implement RFC 3503: frontmatters
Tracking issue: #136889
Supercedes #137193. This implements [RFC 3503](https://github.com/rust-lang/rfcs/blob/master/text/3503-frontmatter.md).
This might break rust-analyzer. Will look into how to fix that.
Suggestions welcome for how to improve diagnostics.
|
2025-05-06 16:28:39 +10:00 |
|
Deadbeef
|
9fce1dfac5
|
Implement RFC 3503: frontmatters
Supercedes #137193
|
2025-05-05 23:10:08 +08:00 |
|
Lukas Wirth
|
f9c83edf12
|
fix: Fix move_bounds assists not working for lifetimes
|
2025-05-05 15:07:36 +02:00 |
|
Lukas Wirth
|
5d43e752ad
|
refactor: Simplify macro call id construction
|
2025-05-02 17:26:48 +02:00 |
|
Matthias Krüger
|
573c47c9ba
|
remove a couple of clones
|
2025-05-01 11:41:42 +02:00 |
|
Lukas Wirth
|
c5051019b4
|
Merge pull request #19542 from snprajwal/let-else-to-match
refactor: migrate `let_else_to_match` to editor
|
2025-04-28 15:27:28 +00:00 |
|
Prajwal S N
|
bb493649d2
|
fix: migrate unmerge_use to syntax editor
Also ensures that attributes on the use item are applied to the new use
item when unmerging.
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
|
2025-04-28 17:31:23 +05:30 |
|
Prajwal S N
|
2eb7389b63
|
refactor: migrate let_else_to_match to editor
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
|
2025-04-28 17:19:17 +05:30 |
|
Lukas Wirth
|
0fee71065b
|
Merge pull request #19704 from Veykril/push-wrvznvvpvtvp
Add expression fill mode variant for filling with underscore expressions
|
2025-04-28 09:45:04 +00:00 |
|
Lukas Wirth
|
7e526b6be7
|
Add expression fill mode variant for filling with underscore expressions
|
2025-04-28 10:39:36 +02:00 |
|
Laurențiu Nicola
|
6225bb9c44
|
Merge from rust-lang/rust
|
2025-04-28 11:06:53 +03:00 |
|
Lukas Wirth
|
e3f7d18458
|
Merge pull request #19643 from ChayimFriedman2/generic-const-items
feat: Parse generic consts
|
2025-04-21 12:17:08 +00:00 |
|
Lukas Wirth
|
1b6948e88a
|
feat: parse super let
|
2025-04-21 13:47:42 +02:00 |
|
Chayim Refael Friedman
|
812a035689
|
Parse generic consts
A lang team experiment, https://github.com/rust-lang/rust/issues/113521.
|
2025-04-21 02:11:56 +03:00 |
|
Prajwal S N
|
243854211c
|
fix: use ast::TokenTree in make::expr_macro
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
|
2025-04-16 13:06:42 +05:30 |
|
Lukas Wirth
|
7fc29a99ef
|
Merge pull request #19568 from snprajwal/destructure-struct-editor
refactor: editor for `destructure_struct_binding`
|
2025-04-14 15:35:00 +00:00 |
|
Prajwal S N
|
688464d5e6
|
fix: make::expr_call() -> CallExpr
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
|
2025-04-11 02:57:44 +05:30 |
|
Prajwal S N
|
ab620e367d
|
fix: make::expr_method_call() -> MethodCallExpr
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
|
2025-04-11 02:50:20 +05:30 |
|
Prajwal S N
|
728d72fbe1
|
fix: make::expr_closure() -> ClosureExpr
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
|
2025-04-11 02:50:16 +05:30 |
|
Prajwal S N
|
92a7890814
|
fix: make::expr_paren() -> ParenExpr
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
|
2025-04-11 02:50:13 +05:30 |
|
Prajwal S N
|
c254537465
|
refactor: editor for destructure_struct_binding
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
|
2025-04-11 02:36:23 +05:30 |
|
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 |
|
Guillaume Gomez
|
2135a01cbe
|
Clean up rustc-literal-escaper usage in rust-analyzer
|
2025-04-05 20:06:52 +02:00 |
|
Guillaume Gomez
|
80cb724b3b
|
Update rustc-literal-escaper version to 0.0.2
|
2025-04-04 22:26:10 +02:00 |
|
BenjaminBrienen
|
2462624a7d
|
prefer default over new
|
2025-04-04 15:49:50 +02:00 |
|
Guillaume Gomez
|
f2ac210f0c
|
Remove usage of rustc_lexer::unescape in rust-analyzer
|
2025-04-04 14:59:14 +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 |
|