1
Fork 0
Commit graph

274030 commits

Author SHA1 Message Date
Bogdan Mircea
9fb7c15339 project-model: fix JSON project PackageRoot buildfile inclusion 2025-01-07 13:47:17 +02:00
Laurențiu Nicola
9344334b19
Merge pull request #18862 from lnicola/publish-test-utils
minor: Set test-utils dependency version, since it's now published
2025-01-07 08:06:37 +00:00
Laurențiu Nicola
4b387254be Set test-utils dependency version, since it's now being published 2025-01-07 09:51:57 +02:00
Laurențiu Nicola
8db8e3cc37
Merge pull request #18853 from ChayimFriedman2/no-completion
Fix case where completion inside macro that expands to `#[test]` was unavailable
2025-01-07 06:44:50 +00:00
Chayim Refael Friedman
78f89a6210
Merge pull request #18858 from davidbarsky/davidbarsky/fix-18854
fix: clear diagnostics on cancel unconditionally
2025-01-06 23:59:35 +00:00
David Barsky
e02b3ec9cc fix: clear diagnostics on cancel unconditionally, fixing #18854 2025-01-06 18:41:21 -05:00
Chayim Refael Friedman
e18e1eb991 Fix case where completion inside macro that expands to #[test] was unavailable
We ignore `#[test]` in the def map, so that's why it failed.
2025-01-06 22:02:24 +02:00
Laurențiu Nicola
5afee0d54d
Merge pull request #18852 from ChayimFriedman2/proc-macro-panic
fix: Fix a bug that was caused by fixup reversing
2025-01-06 18:38:24 +00:00
Chayim Refael Friedman
21b9e32af7 Fix a bug that was caused by fixup reversing 2025-01-06 20:06:20 +02:00
Lukas Wirth
22ab7e37be
Merge pull request #18846 from Veykril/push-kmspklwynynu
minor: New clippy lints
2025-01-06 17:12:14 +00:00
Lukas Wirth
0b832bf8a3 minor: New clippy lints 2025-01-06 17:57:17 +01:00
Lukas Wirth
d0db503515
Merge pull request #18848 from Veykril/push-kyyoskmvnutp
fix: Fix non-cargo flychecks immediately clearing received diagnostics
2025-01-06 12:58:53 +00:00
Lukas Wirth
29c21d87d0 fix: Fix non-cargo flychecks immediately clearing received diagnostics 2025-01-06 13:44:30 +01:00
Lukas Wirth
43b44cf128
Merge pull request #18836 from Veykril/push-kksuoxxptvty
fix: Be more permissive with completion resolve data
2025-01-06 10:37:01 +00:00
Lukas Wirth
0389235a15 fix: Be more permissive with completion resolve data 2025-01-06 11:22:42 +01:00
Lukas Wirth
68c2241053
Merge pull request #18845 from Veykril/push-yyuolqomnkys
fix: Fix flycheck getting confused which package to check
2025-01-06 10:21:26 +00:00
Lukas Wirth
e47bb0df91 fix: Fix flycheck getting confused which package to check 2025-01-06 11:05:51 +01:00
Lukas Wirth
aeae353a2c
Merge pull request #18843 from Veykril/push-usuzxtzsnrpt
fix: Handle newstyle `rustc_intrinsic` safety correctly
2025-01-06 09:00:32 +00:00
Lukas Wirth
5ee1b0af00 fix: Handle newstyle rustc_intrinsic safety correctly 2025-01-06 09:47:31 +01:00
Lukas Wirth
f4757238e5
Merge pull request #18841 from Veykril/push-lsuokpqkprqn
fix: Fix relative .cargo env vars not working
2025-01-06 08:05:16 +00:00
Lukas Wirth
6aad73603f fix: Fix relative .cargo env vars not working 2025-01-06 08:50:41 +01:00
Chayim Refael Friedman
739362113c
Merge pull request #18821 from ChayimFriedman2/coerce-pointee
feat: Support the new `CoercePointee` derive
2025-01-04 16:50:06 +00:00
Chayim Refael Friedman
2a8471191e Support the new CoercePointee derive 2025-01-04 18:35:53 +02:00
Lukas Wirth
c635d7e559
Merge pull request #18835 from Veykril/push-wnmwwoktmpyt
Hide synthetic locals from completions
2025-01-04 16:03:00 +00:00
Lukas Wirth
28b0a9500d Hide synthetic locals from completions 2025-01-04 16:48:08 +01:00
Laurențiu Nicola
bfafdd9d9f
Merge pull request #18831 from lnicola/ci-rustc-tests
Fix metrics workflow
2025-01-03 18:01:37 +00:00
Laurențiu Nicola
b7dc4648e1 Fix metrics workflow 2025-01-03 19:46:47 +02:00
Lukas Wirth
b2892ef6ba
Merge pull request #18806 from LHolten/deduplicate-crate-graph
fix: Deduplicate crate graph
2025-01-03 14:56:14 +00:00
Lukas Wirth
981645b160
Merge pull request #18830 from alibektas/18814
fix: 18814
2025-01-03 13:52:09 +00:00
Ali Bektas
fc3e0a15df fix: 18814 2025-01-03 14:36:40 +01:00
Lukas Wirth
9b0aa8e67d
Merge pull request #18829 from Veykril/push-ouvwrxoovwkr
Disable rustc_test metrics again
2025-01-03 13:01:20 +00:00
Laurențiu Nicola
e86b24793f
Merge pull request #18828 from lnicola/edition-description
minor: Add description field to edition manifest
2025-01-03 12:47:18 +00:00
Lukas Wirth
e4b1b558a8 Disable rustc_test metrics again 2025-01-03 13:46:33 +01:00
Lukas Wirth
31b45b0341
Merge pull request #18827 from Veykril/push-zqsplmtwsxxk
minor: Honor `CARGO_TARGET_DIR` for cargo target dir config
2025-01-03 12:43:43 +00:00
Laurențiu Nicola
b18979f460 Add description field to edition manifest 2025-01-03 14:32:35 +02:00
Lukas Wirth
40b37ee177 minor: Honor CARGO_TARGET_DIR for cargo target dir config 2025-01-03 13:28:52 +01:00
Lukas Wirth
2e7d94bab1
Merge pull request #18826 from Veykril/push-qnsqormwlwqm
fix: Clear flycheck diagnostics per package properly
2025-01-03 12:26:33 +00:00
Lukas Wirth
c5c45e9b69 fix: Clear flycheck diagnostics per package properly 2025-01-03 13:12:05 +01:00
Lukas Wirth
1ae0258c6a
Merge pull request #18825 from Veykril/push-sllokkprznkq
minor: Encode TraitData bools as bitflags
2025-01-03 12:01:08 +00:00
Lukas Wirth
b763a97a6c minor: Encode TraitData bools as bitflags 2025-01-03 12:46:07 +01:00
Lukas Wirth
70ba3b56ff
Merge pull request #18822 from bryceberger/targetdir-absolute
allow targetDir to be an absolute path
2025-01-03 11:33:57 +00:00
Lukas Wirth
954efa9ddd
Merge pull request #18327 from ChayimFriedman2/flat-tt
Store token trees in contiguous `Vec` instead of as a tree
2025-01-03 11:31:58 +00:00
Bryce Berger
369a6546c7
allow targetDir to be an absolute path 2025-01-02 15:51:54 -05:00
Chayim Refael Friedman
acb3490b09 Store token trees in contiguous Vec instead of as a tree
I expected this to be faster (due to less allocations and better cache locality), but benchmarked it is not (neither it is slower). Memory usage, however, drops by ~50mb (of `analysis-stats .`). I guess tt construction is just not hot.

This also simplifies using even less memory for token trees by compressing equal span, which I plan to do right after.

Some workflows are more easily expressed with a flat tt, while some are better expressed with a tree. With the right helpers, though (which was mostly a matter of trial and error), even the worst workflows become very easy indeed.
2025-01-02 19:21:46 +02:00
lucasholten
943ee02ee9 Remove rust-analyzer duplicate crates integration tests 2025-01-02 15:52:06 +01:00
lucasholten
4485cbb0d4 Automatically sort crate graph 2025-01-02 15:50:51 +01:00
Lukas Wirth
b4f865a701
Merge pull request #18820 from dfireBird/fix-space-char-on-literal-render
Fix no space insert before and after if value is only spaces
2025-01-02 11:15:08 +00:00
dfireBird
ac9e28031c
fix no space insert before and after if value is only spaces 2025-01-02 16:28:25 +05:30
Lukas Wirth
bd33815d44
Merge pull request #18819 from ChayimFriedman2/i128-max
fix: Fix overflow detection in MIR evaluation
2025-01-02 10:06:09 +00:00
Chayim Refael Friedman
d93ab14a77 Fix overflow detection in MIR evaluation
With a bit of higher-order macros everything sorts out well.

And also fix a discovered bug when comparing long strings.
2025-01-02 11:51:12 +02:00