Commit graph

288517 commits

Author SHA1 Message Date
Chayim Refael Friedman
321a6d66ac
Merge pull request #19764 from ChayimFriedman2/too-many-asterisks-dbg
fix: Fix postfix snippets duplicating derefs
2025-05-08 09:55:35 +00:00
Chayim Refael Friedman
322451c7d2 Fix postfix snippets duplicating derefs 2025-05-08 11:44:38 +03:00
Lukas Wirth
4c69f8d0a7
Merge pull request #19763 from ChayimFriedman2/ws-completions
fix: Still complete parentheses & method call arguments if there are existing parentheses, but they are after a newline
2025-05-08 08:23:52 +00:00
Chayim Refael Friedman
db9c18e44e Still complete parentheses & method call arguments if there are existing parentheses, but they are after a newline 2025-05-08 11:05:39 +03:00
Lukas Wirth
45f2d3c67a
Merge pull request #19738 from ChayimFriedman2/weird-gats
fix: Don't panic on some weird code
2025-05-06 09:05:19 +00:00
Chayim Refael Friedman
1ed416de03 Don't panic on some weird code 2025-05-06 10:54:35 +03:00
Lukas Wirth
0b75b2d0fe
Merge pull request #19721 from ChayimFriedman2/more-parallel
Better handle parallelism in cache priming
2025-05-06 07:40:56 +00:00
Chayim Refael Friedman
bce6763cca Notify the user that we're collecting symbols
It could be confusing if they see "Indexing n/n" but cache priming does not finish.
2025-05-06 10:29:53 +03:00
Chayim Refael Friedman
bb584e8755
Merge pull request #19751 from VictorArcium/env-var-cargo-manifest-path
Support environment variable CARGO_MANIFEST_PATH.
2025-05-05 21:14:28 +00:00
Chayim Refael Friedman
6fa168ac25 Add a --num-threads to the prime-caches CLI command
And make it parallel by default (and remove the `--parallel` flag) to mirror the IDE cache priming.
2025-05-05 23:55:11 +03:00
Chayim Refael Friedman
26366762a2 Better manage parallel prime caches
To make best use of available cores, and don't waste time waiting for other tasks. See the comments in the code for explanation.
2025-05-05 23:54:34 +03:00
Victor
d246efe919 Support environment variable CARGO_MANIFEST_PATH. 2025-05-05 22:13:48 +02:00
Lukas Wirth
2e7b86d4b6
Merge pull request #19750 from Veykril/push-zvvsopwxovrn
fix: Remove unnecessary token length check for macros in renaming
2025-05-05 15:06:16 +00:00
Lukas Wirth
c3bdb24764 fix: Remove unnecessary token length check for macros in renaming 2025-05-05 16:54:38 +02:00
Lukas Wirth
b41d379429
Merge pull request #19749 from Veykril/push-tsxvxzzmlxpq
refactor: Remove unnecessary `AsAny` trait
2025-05-05 14:53:57 +00:00
Lukas Wirth
227dd283f9
Merge pull request #19748 from Veykril/push-qvmtutwtonou
github: Direct users to discussions instead of issues for questions
2025-05-05 14:52:49 +00:00
Lukas Wirth
941e8f1b15 refactor: Remove unnecessary AsAny trait 2025-05-05 16:42:17 +02:00
Lukas Wirth
5620b39a42 github: Direct users to discussions instead of issues for questions 2025-05-05 16:41:39 +02:00
Lukas Wirth
37cbd83303
Merge pull request #19434 from vishruth-thimmaiah/negatives_in_concat
fix: negative nums in `concat!` expansion
2025-05-05 14:05:52 +00:00
Vishruth-Thimmaiah
63e7c7ece3
fix: negative nums in concat! expansion 2025-05-05 19:00:24 +05:30
Lukas Wirth
b858b97722
Merge pull request #19747 from Veykril/push-kqxvxrxozswr
fix: Fix `move_bounds` assists not working for lifetimes
2025-05-05 13:18:20 +00:00
Lukas Wirth
845106e0f9 fix: Fix move_bounds assists not working for lifetimes 2025-05-05 15:07:36 +02:00
Lukas Wirth
d5c97d355b
Merge pull request #19746 from Veykril/push-swvuyqwwplrt
fix: Fix proc-macro API creating malformed negative literals
2025-05-05 12:21:23 +00:00
Lukas Wirth
4f0c28e1dc fix: Fix proc-macro API creating malformed negative literals 2025-05-05 14:10:42 +02:00
Lukas Wirth
53881efacb minor: Add more proc-macro tests for parsing negative literals 2025-05-05 13:44:45 +02:00
Lukas Wirth
ad6f9f79fe
Merge pull request #19745 from Veykril/push-rnqulnqvltro
minor: Add a mbe test for parsing negative literals
2025-05-05 10:21:54 +00:00
Lukas Wirth
c1b7b968e8 minor: Add a mbe test for parsing negative literals 2025-05-05 12:10:48 +02:00
Lukas Wirth
a6e71bafcb
Merge pull request #19740 from vishruth-thimmaiah/unwrap_path_type
feat: add an assist to unwrap a type with a generic arg
2025-05-05 09:37:14 +00:00
Vishruth-Thimmaiah
77f7a9afb8
feat: add an assist to unwrap a type with a generic arg
This assist unwraps a type into its generic type argument, ignoring
const and lifetime arguments
2025-05-05 13:22:02 +05:30
Lukas Wirth
d24c37ed03
Merge pull request #19707 from Veykril/push-kqkpzkymkyyl
refactor: De-arc defmap queries
2025-05-05 07:15:38 +00:00
Lukas Wirth
79f0e2990b refactor: De-arc defmap queries 2025-05-05 09:04:52 +02:00
Lukas Wirth
5ba589bd77
Merge pull request #19742 from Veykril/push-ykmuwtkzruqm
fix: Fix incorrect handling of unresolved non-module imports in name resolution
2025-05-05 06:41:34 +00:00
Lukas Wirth
bad7d122f4 Fix incorrect handling of unresolved non-module imports in name resolution 2025-05-05 08:29:34 +02:00
Lukas Wirth
8f3bb8b922
Merge pull request #19739 from Veykril/push-kpozprqnsmkk
Disable fixpoint for variance computation temporarily
2025-05-04 04:26:25 +00:00
Lukas Wirth
d6183aa9d7 Disable fixpoint for variance computation temporarily 2025-05-04 06:09:34 +02:00
Lukas Wirth
58ef378c21
Merge pull request #19735 from A4-Tacks/improve-let-snippet
Improve the let code snippet
2025-05-04 04:06:56 +00:00
A4-Tacks
7768602f97
Improve let snippet 2025-05-03 17:04:11 +08:00
A4-Tacks
1327f70349
Improve the let code snippet 2025-05-03 13:15:32 +08: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
3686ed9f7c
Merge pull request #19581 from Veykril/push-uvyutolsqnun
Render more lifetimes
2025-05-02 12:47:03 +00:00
Lukas Wirth
f20e853e65 Render more lifetimes 2025-05-02 14:36:18 +02:00
Laurențiu Nicola
c45126e2ba
Merge pull request #19727 from matthiaskrgr/enolc
remove a couple of clones
2025-05-01 09:52:49 +00:00
Matthias Krüger
3e196c00c2 remove a couple of clones 2025-05-01 11:41:42 +02:00
Laurențiu Nicola
00d2f60efd
Merge pull request #19726 from lnicola/sync-from-rust
Sync from downstream again
2025-05-01 07:33:30 +00:00
Laurențiu Nicola
1c5de64814 Merge from rust-lang/rust 2025-05-01 10:22:16 +03:00