Commit graph

2546 commits

Author SHA1 Message Date
Ralf Jung
aac65f562b rename BackendRepr::Vector → SimdVector 2025-02-28 17:17:45 +01:00
Laurențiu Nicola
a2bd5a5ed3 Update assist docs 2025-02-24 10:28:52 +02:00
Laurențiu Nicola
1375df2fba Format code 2025-02-24 10:28:46 +02:00
Laurențiu Nicola
df39a77534 Add rustc_hashes and bump the others 2025-02-24 10:10:51 +02:00
Laurențiu Nicola
36e41b57e9 Merge from rust-lang/rust 2025-02-24 09:42:57 +02:00
Laurențiu Nicola
386d7a5d0a Preparing for merge from rust-lang/rust 2025-02-24 09:42:28 +02:00
Lukas Wirth
286595e21e
Merge pull request #19191 from Veykril/push-yzzlosskwrxs
Remove `limit` crate in favor `usize`
2025-02-23 16:50:32 +00:00
Lukas Wirth
a941de4d4f Remove limit crate in favor usize 2025-02-23 17:35:09 +01:00
niller-g
563435e95b Fix codegen of parser inline tests runner
When running `cargo codegen` the `crates/parser/test_data/generated/runner.rs` file is only updated when some file in `crates/parser/test_data/inline` changes. However this is not sufficient in all cases
2025-02-23 11:41:34 +01:00
niller-g
3b05e9307e Fix parser inline tests codegen panics
When running `cargo codegen` the cwd="rust-analyzer" however when running `cargo test` the cwd="rust-analyzer/xtask" which makes the codegen panic
2025-02-23 11:34:44 +01:00
Jacob Pratt
7f14d2eba4
Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross
Greatly simplify lifetime captures in edition 2024

Remove most of the `+ Captures` and `+ '_` from the compiler, since they are now unnecessary with the new edition 2021 lifetime capture rules. Use some `+ 'tcx` and `+ 'static` rather than being overly verbose with precise capturing syntax.
2025-02-23 02:44:18 -05:00
Michael Goulet
12e3911d81 Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
Chayim Refael Friedman
da06b7c1bb
Merge pull request #19182 from ShoyuVanilla/issue-19177
fix: Binding wrong associated type when lowering bounds like `T: Trait<Assoc = U>`
2025-02-22 21:32:46 +00:00
Laurențiu Nicola
01c3ba8a47
Merge pull request #19203 from lnicola/rust-src-path
minor: Switch back to RUST_SRC_PATH
2025-02-22 07:23:21 +00:00
Laurențiu Nicola
db04df096f Switch back to RUST_SRC_PATH 2025-02-22 09:07:52 +02:00
Josh Rotenberg
5aaf2f7627 toc for other editors 2025-02-21 20:40:19 -08:00
Jubilee Young
46f7a7d378 rust-analyzer: use new function in (incorrect) layout computation
This is only to fix the build.
2025-02-20 19:55:29 -08:00
Zachary S
7ba3d7b54e Remove BackendRepr::Uninhabited, replaced with an uninhabited: bool field in LayoutData.
Also update comments that refered to BackendRepr::Uninhabited.
2025-02-20 13:27:32 -06:00
Benjamin Brienen
67f408c350
Update style.md
fix dead link
2025-02-20 19:38:24 +01:00
Lukas Wirth
f9fb2db8aa
Merge pull request #19189 from Veykril/push-qutznxznnwqn
minor: Improve unset `OUT_DIR` error message
2025-02-20 18:15:29 +00:00
Lukas Wirth
b3a6168c99 Improve unset OUT_DIR error message 2025-02-20 19:00:23 +01:00
Laurențiu Nicola
2ba41e815a
Merge pull request #19190 from BenjaminBrienen/patch-4
Update editor_features.md
2025-02-20 16:20:35 +00:00
Benjamin Brienen
f97bbd32b4
Update editor_features.md
fix typos in snippets
2025-02-20 17:05:18 +01:00
Lukas Wirth
c0c0283eb9
Merge pull request #19151 from infiniteregrets/infi/fix-proc-macro
Use correct working directory for non-workspace proc-macro execution
2025-02-20 16:04:52 +00:00
Laurențiu Nicola
98fc39f8af
Merge pull request #19188 from lnicola/ubuntu-latest
internal: Use ubuntu-latest workers for releases
2025-02-20 07:50:21 +00:00
Laurențiu Nicola
52e878c3d1 Use ubuntu-latest workers for releases 2025-02-20 09:34:19 +02:00
Laurențiu Nicola
36768cd02e
Merge pull request #19185 from BenjaminBrienen/patch-3
Update architecture.md
2025-02-20 07:23:34 +00:00
Laurențiu Nicola
e14f40786e
Merge pull request #19187 from BenjaminBrienen/patch-4
Update configuration.md
2025-02-20 07:06:39 +00:00
Benjamin Brienen
b53fc6e91a
Update configuration.md
fix dead links
2025-02-20 03:21:45 +01:00
Josh Rotenberg
d50c449617 missed the L for the line number 2025-02-19 16:52:12 -08:00
Benjamin Brienen
4bc72f720f
Update architecture.md
it is stable since 1.52
2025-02-20 01:28:20 +01:00
Shoyu Vanilla
851ef81f4a Explicitly compare TypesMap as ptrs 2025-02-20 08:49:00 +09:00
Shoyu Vanilla
ceab754693 fix: Binding wrong assoc ty when lowering trait ref bound 2025-02-20 00:47:21 +09:00
Lukas Wirth
1ad2fa8d8a
Merge pull request #19180 from joshrotenberg/fix-source-file-url
doc: use fully qualified url for source path
2025-02-19 06:37:01 +00:00
Chayim Refael Friedman
1ed047137e
Merge pull request #19179 from alibektas/19090_new
Ignore assists with many results if grouping not supported
2025-02-18 21:13:06 +00:00
Ali Bektas
6100c2c043 Add a check_assist_* overload and move tests under assists 2025-02-18 21:58:27 +01:00
Josh Rotenberg
d09cabb0b0 use fully qualified url for source path 2025-02-18 12:57:18 -08:00
Ali Bektas
ebe8c4882b Fix 19090 2025-02-18 20:51:42 +01:00
Benjamin Brienen
176d3ff78c
Fix dead link 2025-02-18 17:22:45 +01:00
Lukas Wirth
3457775827
Revert "pass struct fields to chalk" 2025-02-18 11:37:43 +01:00
Lukas Wirth
501471a621
Merge pull request #19157 from joshrotenberg/dev-guide-to-book
doc: move dev docs to manual
2025-02-18 07:00:23 +00:00
Josh Rotenberg
9821bb0d6d move dev docs to manual
fix formatting
2025-02-17 10:47:27 -08:00
Matthias Krüger
fc829035c1
Rollup merge of #137173 - lnicola:sync-from-ra, r=lnicola
Subtree update of `rust-analyzer`

r? `@ghost`
2025-02-17 17:06:14 +01:00
Mehul Arora
4d386f76a6 Use correct working directory for non-workspace proc-macro execution 2025-02-17 10:36:32 -05:00
Laurențiu Nicola
bce3d0ff1c Update lockfile 2025-02-17 14:50:39 +02:00
Laurențiu Nicola
0c9c489355
Merge pull request #19169 from lnicola/sync-from-rust
minor: Sync from downstream
2025-02-17 12:30:13 +00:00
Laurențiu Nicola
952bfae057 Bump rustc crates 2025-02-17 14:11:12 +02:00
Lukas Wirth
2a0d16f3c4
Merge pull request #19167 from ChayimFriedman2/fix-ref-pat
fix: Fix detection of ref patterns for path patterns
2025-02-17 11:23:18 +00:00
Laurențiu Nicola
b571e8a8ac Merge from rust-lang/rust 2025-02-17 13:20:12 +02:00
Laurențiu Nicola
19fa3deab3 Preparing for merge from rust-lang/rust 2025-02-17 13:20:07 +02:00