about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates
AgeCommit message (Collapse)AuthorLines
2025-03-06Normalize projections in evaluated const display and layout calculationChayim Refael Friedman-0/+39
2025-03-06Merge pull request #19290 from aibaars/patch-1Lukas Wirth-1/+17
Add warning and debug information when `cargo metadata` fails
2025-03-06Change `%e` to `?e` to include detailed error messageArthur Baars-2/+1
2025-03-06Adjust relevance scoring threshold to consistent with existing implementationsTongjun Gao-1/+1
2025-03-05Show when build scripts fail what the errors wereAli Bektas-2/+3
2025-03-05Merge pull request #19292 from Veykril/push-zonnrrlosqmvLukas Wirth-6/+4
Fix syntax highlightingg punct filtering ignoring mods
2025-03-05Merge pull request #19279 from Natural-selection1/masterLukas Wirth-1/+51
Improve keyword completion for 'let' and 'let mut'
2025-03-05Fix syntax highlightingg punct filtering ignoring modsLukas Wirth-6/+4
2025-03-05Rollup merge of #137728 - Darksonn:no-tuple-unsize, r=oli-obk许杰友 Jieyou Xu (Joe)-34/+0
Remove unsizing coercions for tuples See https://github.com/rust-lang/rust/issues/42877#issuecomment-2686010847 and below comments for justification. Tracking issue: #42877 Fixes: #135217
2025-03-05Merge pull request #19274 from Veykril/push-pouwrwwrlrltLukas Wirth-534/+544
Highlight unsafe operations as unsafe, not definitions
2025-03-05Use HIR unsafety information for unsafe syntax highlightngLukas Wirth-534/+544
2025-03-05Improve tracing log format in cargo_workspace.rsArthur Baars-1/+3
2025-03-05Add warning and debug information when `cargo metadata` failsArthur Baars-1/+16
The errors are silently dropped elsewhere, which make it really hard to debug issues due to dependency download failures.
2025-03-05add test cases for 'letm' keyword completionTongjun Gao-0/+19
2025-03-05Use size_of from the prelude instead of importedThalia Archibald-34/+24
Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the prelude instead of importing or qualifying them. These functions were added to all preludes in Rust 1.80.
2025-03-05minicore: Add size_of to prelude and add rust_2024 preludeThalia Archibald-0/+6
2025-03-05Merge pull request #19265 from Shourya742/2025-03-01-add-dangling-dyn-diagnosticLaurențiu Nicola-9/+103
feat: Add diagnostic for dangling dyn and impl
2025-03-04change 'let mut' keyword completion into 'ietm' snippetTongjun Gao-2/+2
2025-03-04Improve keyword completion for 'let' and 'let mut'Tongjun Gao-1/+32
2025-03-03Rollup merge of #137921 - lnicola:sync-from-ra, r=lnicolaMatthias Krüger-2325/+3227
Subtree update of `rust-analyzer` r? `@ghost`
2025-03-03Bump minimum supported toolchain to 1.82Laurențiu Nicola-1/+1
2025-03-03Merge pull request #19261 from Veykril/push-rnqlyrvqpolsLukas Wirth-206/+385
Support tuple struct patterns for expand_rest_pattern assist
2025-03-03Merge pull request #19243 from Veykril/push-qrrqsywkwyzpLukas Wirth-63/+91
Allow unsetting default cfgs
2025-03-03Merge pull request #19244 from Veykril/push-nmnrnlysvyvkLukas Wirth-114/+140
Warn when the used toolchain looks too old for rust-analyzer
2025-03-03Support tuple struct patterns for expand_rest_pattern assistLukas Wirth-23/+191
2025-03-03Add dangling implbit-aloo-31/+54
- Adds dangling impl diagnostics - Rename validation test from dangling_impl to dangling_iml_ref
2025-03-03Merge pull request #19269 from lnicola/sync-from-rustLaurențiu Nicola-1/+1
minor: sync from downstream
2025-03-03Merge from rust-lang/rustLaurențiu Nicola-1/+1
2025-03-03Merge pull request #19226 from Shourya742/2025-02-25-fix-completion-ref-matchingChayim Refael Friedman-3/+25
completion-ref-matching
2025-03-02Add `identifier` to pull diagnostic LSP capabilitiesMichael Davis-1/+1
This field in the server capabilities instructs the client to maintain the diagnostics received from a `textDocument/diagnostic` pull request as a separate set from other diagnostics: namely those sent with classic "push" diagnostics, `textDocument/publishDiagnostic`. rust-analyzer emits "native" diagnostics (computed by rust-analyzer itself) in pull diagnostics and separately emits cargo-based diagnostics with push, so push and pull diagnostics should be different sets. Setting this field instructs the client to avoid clearing push diagnostics when new pull diagnostics arrive and vice versa.
2025-03-02add diagnostic for dangling implbit-aloo-3/+40
2025-03-02add diagnostic for dangling dynbit-aloo-9/+43
2025-03-02Remove layouting dead code for non-array SIMD types.Moulins-36/+11
These aren't supported anymore, and are already rejected in type checking.
2025-03-02Normalize some assist namesLukas Wirth-199/+210
2025-03-02Merge pull request #19259 from Veykril/push-skmvrmtorqsoLukas Wirth-43/+140
Add flip or-pattern assist
2025-03-02Merge pull request #19253 from ShoyuVanilla/migrate-convert-bool-thenLukas Wirth-56/+170
internal: Migrate `convert_bool_then` to `SyntaxEditor`
2025-03-02Add flip or-pattern assistLukas Wirth-43/+140
2025-03-01Merge pull request #19251 from Veykril/push-tkmpqtzxynxkLukas Wirth-87/+50
Remove syntax editing from parenthesis computation
2025-03-01Remove syntax editing from parenthesis computationLukas Wirth-87/+50
2025-03-01Fix `test_keyword_highlighting` testLukas Wirth-38/+107
2025-03-01Cleanup string handling in syntax highlightingLukas Wirth-58/+27
2025-03-01More precise macro modifiers for syntax highlightingLukas Wirth-231/+231
2025-03-01Cleanup highlighting macro-def handlingLukas Wirth-340/+197
2025-03-01Migrate `convert_bool_then` to `SyntaxEditor`Shoyu Vanilla-56/+170
Update assist docs
2025-02-28rename BackendRepr::Vector → SimdVectorRalf Jung-1/+1
2025-02-28Have inline_local_variable use precedence calculation for parenthesesLukas Wirth-67/+44
2025-02-28Merge pull request #19249 from Veykril/push-noosrywrsuvnLukas Wirth-11/+22
Fix prefix adjustment hints unnecessarily introducing parens
2025-02-28Fix prefix adjustment hints unnecessarily introducing parensLukas Wirth-11/+22
2025-02-28add testbit-aloo-0/+24
2025-02-28Avoid suggesting redundant borrowing in completion resultsbit-aloo-3/+1