Lukas Wirth
8e8d997304
Split enum variants out of enum_data
query
2025-03-14 13:32:53 +01:00
Lukas Wirth
dff1896436
Move attribute parsing out of data module
2025-03-14 13:31:41 +01:00
Lukas Wirth
12f54eec27
Split assoc items out of trait_data
/impl_data
queries
2025-03-14 13:31:41 +01:00
David Barsky
185f9deb45
Merge pull request #19351 from davidbarsky/davidbarsky/fix-panic-in-diagnostics
...
internal: don't panic when the crate graph isn't ready
2025-03-13 19:46:01 +00:00
David Barsky
788232b355
internal: don't panic when the crate graph isn't ready #19351
2025-03-13 15:14:08 -04:00
Chayim Refael Friedman
5076ef7d9b
Emit an error when RTN is used in an incorrect place
...
We miss one place: associated type bindings aka. `impl Trait<Type(..): Send>`, but we also miss it for Fn-style parenthesizes error so I left it out for now.
2025-03-12 23:34:16 +02:00
Chayim Refael Friedman
eaa0a39831
Lower Return Type Notation (Type::method(..): Send
)
...
We do it the way rustc does it, by only marking segments with it, and not the whole path. This will allow extending where it is allowed in the future.
2025-03-12 23:34:16 +02:00
Chayim Refael Friedman
3fc655b239
Merge pull request #19337 from ChayimFriedman2/salsify-crate-graph-final
...
Salsify the crate graph
2025-03-12 19:17:29 +00:00
Chayim Refael Friedman
c94e9efbef
Salsify the crate graph
...
I.e. make it not one giant input but multiple, for incrementality and decreased memory usage for Salsa 3 reasons.
2025-03-12 21:02:30 +02:00
Florian Diebold
8d01570b5e
Merge pull request #19343 from flodiebold/push-tmumzoxxmxsr
...
Make GenericParamsCollector::type_or_consts not unnecessarily pub(crate)
2025-03-11 14:26:24 +00:00
¨Florian
9780734028
Make GenericParamsCollector::type_or_consts not unnecessarily pub(crate)
2025-03-11 15:09:39 +01:00
David Barsky
44f18c3d05
Merge pull request #18964 from davidbarsky/davidbarsky/port-rust-analyzer-to-new-salsa
...
internal: port rust-analyzer to new Salsa
2025-03-10 18:12:35 +00:00
David Barsky
74620e64ec
internal: port rust-analyzer to new Salsa
2025-03-10 13:30:51 -04:00
David Barsky
394374e769
internal(config): use FxIndexMap
for default completion snippets
2025-03-10 12:55:46 -04:00
Lukas Wirth
7368212405
Merge pull request #19305 from davidbarsky/davidbarsky/vendor-query-group-macro
...
internal: vendor `query-group-macro` in rust-analyzer
2025-03-10 14:29:45 +00:00
David Barsky
7a7ff470ca
internal: vendor query-group-macro
2025-03-10 10:12:52 -04:00
bit-aloo
3546ef2f06
doc: add doc to proc-macro-api
2025-03-10 18:43:41 +05:30
Lukas Wirth
89092c786d
Merge pull request #19334 from Veykril/push-oynrurllmwtk
...
internal: Remove generated md book files
2025-03-10 13:12:43 +00:00
Lukas Wirth
b949820aff
Remove generated md book files
2025-03-10 13:57:26 +01:00
Lukas Wirth
5a742d3da9
Merge pull request #19326 from Veykril/push-vovuxzkzrowp
...
Add missing name-ref parents to syntactic highlighting
2025-03-10 11:47:15 +00:00
Lukas Wirth
3a02514725
Merge pull request #19294 from alibektas/better_build_script_err_msgs
...
minor: Show build scripts errors in server status
2025-03-10 11:35:07 +00:00
Lukas Wirth
7ae98626fc
Add missing name-ref parents to syntactic highlighting
2025-03-10 12:31:38 +01:00
Lukas Wirth
f81fcabdf9
Merge pull request #19332 from Veykril/push-trvznlqsvtyq
...
Make change annotations per text-edit
2025-03-10 11:25:13 +00:00
Lukas Wirth
d76b785ff5
Merge pull request #19333 from alexkirsz/alexkirsz/fix-diagnostics
...
fix: Fix diagnostics being cleared right after being received
2025-03-10 11:12:00 +00:00
Lukas Wirth
70066399f0
Make change annotations per text-edit
2025-03-10 12:08:42 +01:00
Alex Kirszenberg
6845fb8a0a
Fix diagnostics being cleared right after being received
2025-03-10 11:56:50 +01:00
Laurențiu Nicola
be48993351
Merge pull request #19331 from lnicola/sync-from-rust
...
minor: Sync from downstream
2025-03-10 09:52:17 +00:00
Laurențiu Nicola
25e4bd1f90
Format code
2025-03-10 11:37:21 +02:00
Lukas Wirth
95a67f2650
Merge pull request #19328 from Veykril/push-umwykvoskvyp
...
internal: Run proc-macro server tests as separate CI job
2025-03-10 09:30:22 +00:00
Laurențiu Nicola
1afcab1725
Fix simd layout test
2025-03-10 11:21:03 +02:00
Laurențiu Nicola
bc178ff75e
Bump rustc crates
2025-03-10 11:20:56 +02:00
Lukas Wirth
88ab330c77
Run proc-macro server tests are separate CI job
...
Touch tt
2025-03-10 10:16:32 +01:00
Lukas Wirth
27a5b1ba0c
Merge pull request #19330 from ChayimFriedman2/normalize-projection
...
fix: Normalize projections in evaluated const display and layout calculation
2025-03-10 09:15:35 +00:00
Lukas Wirth
cf255a61d5
Merge pull request #19079 from ChayimFriedman2/rename-conflict
...
feat: Warn the user when a rename will change the meaning of the program
2025-03-10 08:59:43 +00:00
Lukas Wirth
5249b8bf7e
Merge pull request #19327 from Veykril/push-qyyvkulltzpz
...
Fix `path` macro hygiene
2025-03-10 08:45:04 +00:00
Laurențiu Nicola
363590b450
Merge from rust-lang/rust
2025-03-10 10:41:53 +02:00
Laurențiu Nicola
ae1a648915
Preparing for merge from rust-lang/rust
2025-03-10 10:41:28 +02:00
Lukas Wirth
af7f89cc9d
Fix path
macro hygiene
2025-03-10 09:29:27 +01:00
Lukas Wirth
430d7c6b0d
Merge pull request #19311 from aibaars/log-build-script-error
...
Log build script error output in `load_cargo::load_workspace_at`
2025-03-10 08:16:10 +00:00
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
Lukas Wirth
34e352ab84
Merge pull request #19316 from snprajwal/git-commit-ec
...
fix: do not apply editorconfig to git commit msg
2025-03-10 08:11:48 +00:00
Lukas Wirth
90e18005eb
Merge pull request #19252 from flodiebold/fix-fixup-delimiters
...
Fix syntax fixup producing invalid punctuation
2025-03-10 08:11:27 +00:00
Lukas Wirth
66c40fd90d
Merge pull request #19232 from ShoyuVanilla/issue-19196
...
Bump chalk for built-in supports of async closures
2025-03-10 08:11:23 +00:00
Lukas Wirth
d90ac01dc2
Merge pull request #19325 from Veykril/push-sxyvwwsmtxrr
...
Rank ADT constructors as constructors for completion scoring
2025-03-10 05:59:23 +00:00
bors
5785c1d066
Auto merge of #137695 - nnethercote:always-inline-query_get_at, r=saethlin
...
Always inline `query_get_at`.
r? `@saethlin`
2025-03-09 21:36:57 +00:00
bors
0beabc724d
Auto merge of #137655 - nnethercote:split-edges-iterator, r=nnethercote
...
Split the `Edges` iterator.
Some nice performance wins here, mostly on the `wg-grammar` benchmark.
r? `@lcnr`
2025-03-09 15:30:47 +00:00
Lukas Wirth
7202146f65
Rank ADT constructors as constructors for completion scoring
2025-03-09 15:36:53 +01:00
bors
f87e09a35b
Auto merge of #138267 - matthiaskrgr:rollup-vt76bhs, r=matthiaskrgr
...
Rollup of 12 pull requests
Successful merges:
- #136127 (Allow `*const W<dyn A> -> *const dyn A` ptr cast)
- #136968 (Turn order dependent trait objects future incompat warning into a hard error)
- #137319 (Stabilize `const_vec_string_slice`)
- #137885 (tidy: add triagebot checks)
- #138040 (compiler: Use `size_of` from the prelude instead of imported)
- #138084 (Use workspace lints for crates in `compiler/`)
- #138158 (Move more layouting logic to `rustc_abi`)
- #138160 (depend more on attr_data_structures and move find_attr! there)
- #138192 (crashes: couple more tests)
- #138216 (bootstrap: Fix stack printing when a step cycle is detected)
- #138232 (Reduce verbosity of GCC build log)
- #138242 (Revert "Don't test new error messages with the stage 0 compiler")
r? `@ghost`
`@rustbot` modify labels: rollup
2025-03-09 12:29:49 +00:00
Lukas Wirth
5e7dd31c80
Merge pull request #19324 from ShoyuVanilla/migrate-inline-var
...
fix: Prevent wrong invocations of `needs_parens_in` with non-ancestral "parent"s
2025-03-10
2025-03-09 10:58:02 +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