Commit graph

3115 commits

Author SHA1 Message Date
Lukas Wirth
bad7d122f4 Fix incorrect handling of unresolved non-module imports in name resolution 2025-05-05 08:29:34 +02:00
Lukas Wirth
d6183aa9d7 Disable fixpoint for variance computation temporarily 2025-05-04 06:09:34 +02:00
Lukas Wirth
429027a40f
Merge pull request #19733 from ShoyuVanilla/issue-19724
fix: Implement mut to const ptr cast for method resolution
2025-05-02 20:48:24 +00:00
Lukas Wirth
4e3bdb96d9
Merge pull request #19732 from ShoyuVanilla/issue-19730
fix: Correct assoc ty bound var starting index
2025-05-02 20:46:54 +00:00
Shoyu Vanilla
d8a52dbbf8 fix: Implement mut to const ptr cast for method resolution 2025-05-03 03:01:40 +09:00
Lukas Wirth
372f3f3038
Merge pull request #19731 from Veykril/push-mmvowomkpwxy
refactor: Simplify macro call id construction
2025-05-02 15:38:17 +00:00
Shoyu Vanilla
9eb1e83a12 fix: Correct assoc ty bound var starting index 2025-05-03 00:31:33 +09:00
Lukas Wirth
a8fb9d0979 refactor: Simplify macro call id construction 2025-05-02 17:26:48 +02:00
Lukas Wirth
f20e853e65 Render more lifetimes 2025-05-02 14:36:18 +02:00
Matthias Krüger
3e196c00c2 remove a couple of clones 2025-05-01 11:41:42 +02:00
Laurențiu Nicola
1c5de64814 Merge from rust-lang/rust 2025-05-01 10:22:16 +03:00
Laurențiu Nicola
b01b98f9f0 Preparing for merge from rust-lang/rust 2025-05-01 10:21:52 +03:00
Laurențiu Nicola
408232fb51 Update lockfile 2025-05-01 10:21:46 +03:00
Lukas Wirth
a6b8abf341 Bump salsa 2025-05-01 07:27:32 +02:00
Lukas Wirth
97bdf14802
Merge pull request #19723 from Veykril/push-skswknpxtzlz
fix: Improve parser recovery a bit
2025-04-30 14:51:18 +00:00
Lukas Wirth
09188e63f2 fix: Improve parser recovery a bit 2025-04-30 16:40:01 +02:00
Lukas Wirth
1306a5aae7
Merge pull request #19247 from alibektas/19172_very_new
fix: Correct span info for mir::Operand
2025-04-30 10:13:02 +00:00
Lukas Wirth
1b677ce14f chore: Adjust panic context printing 2025-04-30 07:40:11 +02:00
Lukas Wirth
3f92794939 Split out salsa_macros
Does not do much yet due to tracing pulling syn but oh well
2025-04-29 19:43:36 +02:00
Lukas Wirth
0e139b8995 Update salsa 2025-04-29 19:26:19 +02:00
Lukas Wirth
85ab1d2596
Merge pull request #19714 from Veykril/push-owpqqzqmrpvv
refactor: Remove unnecessary extension trait
2025-04-29 12:05:39 +00:00
Lukas Wirth
21e7003a02 refactor: Remove unnecessary extension trait 2025-04-29 13:53:57 +02:00
Lukas Wirth
df4b8f3be8
Merge pull request #19713 from Veykril/push-xkppskpmuzpo
refactor: Cleanup cfg check handling in expression store lowering
2025-04-29 09:54:27 +00:00
Lukas Wirth
bae7322f45
Merge pull request #19685 from fbernier/pgo-install
Add PGO support to install
2025-04-29 09:46:09 +00:00
Lukas Wirth
97f0f68769 Cleanup cfg check handling in expression store lowering 2025-04-29 11:44:11 +02:00
Lukas Wirth
d93d553a0c refactor: Clean up cache priming cancellation handling 2025-04-29 10:40:31 +02:00
David Barsky
0b02aed854
Merge pull request #19699 from ChayimFriedman2/escape-label
fix: Escape raw names in labels properly
2025-04-28 21:12:21 +00:00
David Barsky
833f526196 base-db: add more details to panic 2025-04-28 13:30:33 -07:00
Lukas Wirth
746c6899e9
Merge pull request #19708 from Veykril/push-wrmyowrzkxzz
refactor: De-arc lang item queries
2025-04-28 15:28:51 +00:00
Lukas Wirth
a839a6655a
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
Lukas Wirth
f479012d0e refactor: De-arc lang item queries 2025-04-28 17:17:39 +02:00
Prajwal S N
32bf2ac529
refactor: migrate merge_imports to syntax editor
Co-authored-by: Tarek <tareknaser360@gmail.com>
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-28 17:32:36 +05:30
Prajwal S N
30eeab0381
chore: rename unmerge_use to unmerge_imports
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-28 17:32:05 +05:30
Prajwal S N
1b3374fb82
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
2231efa27d
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
Laurențiu Nicola
ce6a066339 Unelide lifetime 2025-04-28 14:16:43 +03:00
Lukas Wirth
62a48c5fed
Merge pull request #19706 from Veykril/push-nkpmknlvzyom
fix: Address minor FIXME
2025-04-28 10:12:20 +00:00
Lukas Wirth
99f00927cc fix: Address minor FIXME 2025-04-28 11:55:26 +02:00
Lukas Wirth
bb906cc06f
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
7e064c3072 Add expression fill mode variant for filling with underscore expressions 2025-04-28 10:39:36 +02:00
Laurențiu Nicola
f89fcbeda2 Add bootstrap cfg 2025-04-28 11:16:21 +03:00
Laurențiu Nicola
1923f90dd3 Format code 2025-04-28 11:11:47 +03:00
Laurențiu Nicola
4d28d530f7 Merge from rust-lang/rust 2025-04-28 11:06:53 +03:00
Laurențiu Nicola
fdb5edefd0 Preparing for merge from rust-lang/rust 2025-04-28 09:52:59 +03:00
Chayim Refael Friedman
4ed9b12dd3
Merge pull request #19692 from vishruth-thimmaiah/remove_underscore_for_used_var
feat: adds an assist to remove underscores from used variables
2025-04-26 19:00:49 +00:00
Vishruth-Thimmaiah
9a00c99ba2
feat: adds an assist to remove underscores from used variables
adds an assist that suggests removing any underscore prefixes from used
variables.
2025-04-27 00:13:42 +05:30
Chayim Refael Friedman
8118676a08 Don't escape 'static
As it is a valid lifetime without escaping.

It does need to be escaped as a label, but we have no way to distinguish that.
2025-04-26 21:20:43 +03:00
Chayim Refael Friedman
2b701e00f1 Escape raw names in labels properly 2025-04-26 21:10:43 +03:00
Wilfred Hughes
b161cb5dc0 Clarify text for add_braces assist
"to arm expression" is hard to parse, because "arm" can be a verb. Not
all Rust users may know that "arm" refers to a `match` expression
either.

Tweak the wording to make the sentence easier to parse, and clarify
that this assist refers to `match`. Use the same wording style for the
closure version too.
2025-04-25 22:15:22 -07:00
Chayim Refael Friedman
1925c25a51
Merge pull request #19690 from ChayimFriedman2/preallocate-input
minor: Preallocate `parser::Input`
2025-04-25 14:35:49 +00:00