Tyler Breisacher
8d99f2f11a
Remove incorrect doc comment
2025-04-14 19:05:13 -07:00
Lukas Wirth
d9b61b3382
Merge pull request #19583 from Kobzol/revert-19582-ci-pgo
...
Do not perform PGO on Linux CI
2025-04-14 15:47:06 +00:00
Jakub Beránek
99b691710c
Do not enable PGO in combination with zigbuild
2025-04-14 17:35:50 +02:00
Lukas Wirth
e4c290953a
Merge pull request #19568 from snprajwal/destructure-struct-editor
...
refactor: editor for `destructure_struct_binding`
2025-04-14 15:35:00 +00:00
Lukas Wirth
9dd3561456
Merge pull request #19572 from snprajwal/expand-rest-pattern
...
refactor: migrate `expand_rest_pattern` to editor
2025-04-14 14:50:08 +00:00
Lukas Wirth
22c30435b5
Merge pull request #19582 from Kobzol/ci-pgo
...
Distribute x64 and aarch64 Linux builds with PGO optimizations
2025-04-14 14:32:56 +00:00
Lukas Wirth
415b7f32a1
Merge pull request #19569 from snprajwal/fixmes
...
fix(ast): return correct types for `make::expr_*` methods
2025-04-14 11:10:27 +00:00
Lukas Wirth
eda5a2e4e9
Merge pull request #19578 from clouds56-contrib/drive-letter
...
add normalizeDriveLetter
2025-04-14 11:09:37 +00:00
Lukas Wirth
0e091ac63a
Merge pull request #19521 from snprajwal/ci
...
ci: cancel parallel jobs if test fails
2025-04-14 11:08:43 +00:00
Lukas Wirth
ef701b3516
Merge pull request #19579 from ChayimFriedman2/cyclic-closure
...
fix: Prevent panics when there is a cyclic dependency between closures
2025-04-14 10:15:03 +00:00
Jakub Beránek
09ba190621
Use PGO for x64 and aarch64 Linux builds on CI
2025-04-14 11:51:48 +02:00
Jakub Beránek
d69a440f91
Add xdist dist --pgo command to build Rust Analyzer with PGO optimizations
2025-04-14 11:51:48 +02:00
Chayim Refael Friedman
601ab30d27
Prevent panics when there is a cyclic dependency between closures
...
We didn't include them in the sorted closures list, therefore didn't analyze them, then failed to find them.
2025-04-14 07:12:51 +03:00
Clouds Flowing
cfdeaca216
fix format
2025-04-14 11:45:21 +08:00
Clouds Flowing
8bc76c64e6
add normalizeDriveLetter
2025-04-14 11:23:31 +08:00
yukang
552020dc62
Ignore errors from rustfmt which may trigger error notification
2025-04-14 09:33:38 +08:00
Lukas Wirth
c970cacd50
internal: Render sigantures with view hir command
2025-04-13 12:13:28 +02:00
Prajwal S N
03c71b6f00
ci: cancel parallel jobs if test fails
...
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-12 01:49:07 +05:30
Prajwal S N
a3bc2b12fc
refactor: migrate expand_rest_pattern to editor
...
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-11 21:25:53 +05:30
duncan
5ea1764b45
fix clippy::useless-conversion
2025-04-11 16:23:47 +01:00
duncan
2e79c265e4
exclude build script targets from testing
2025-04-11 16:16:20 +01:00
duncan
d8ecbccc4e
test only packages that are workspace members
2025-04-11 15:03:38 +01:00
duncan
35bb73aa8c
use underscores in the target name for test update notifications
2025-04-11 14:15:13 +01:00
Chayim Refael Friedman
7425cc1d18
Merge pull request #19570 from ChayimFriedman2/fix-store-panic
...
fix: Fix an incorrect `ExpressionStore` that was passed
2025-04-10 21:46:18 +00:00
Chayim Refael Friedman
405ffce886
Fix an incorrect ExpressionStore that was passed
...
It caused panics everywhere.
2025-04-11 00:34:13 +03:00
Prajwal S N
50a17e7eee
fix: make::expr_call() -> CallExpr
...
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-11 02:57:44 +05:30
Prajwal S N
1470ddbb18
fix: make::expr_method_call() -> MethodCallExpr
...
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-11 02:50:20 +05:30
Prajwal S N
c1563be0e9
fix: make::expr_closure() -> ClosureExpr
...
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-11 02:50:16 +05:30
Prajwal S N
5cdddd73f0
fix: make::expr_paren() -> ParenExpr
...
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-11 02:50:13 +05:30
Prajwal S N
ec53636333
refactor: editor for destructure_struct_binding
...
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-11 02:36:23 +05:30
David Barsky
e47bb17547
Merge pull request #19565 from davidbarsky/davidbarsky/add-prime-caches-subcommand
...
internal: add `prime-caches` subcommand
2025-04-10 15:42:25 +00:00
David Barsky
9e50a3009f
internal: cleanup CLI flag documentation
2025-04-10 11:30:59 -04:00
David Barsky
8f547bb82f
internal: add prime-caches subcommand
2025-04-10 11:18:33 -04:00
Florian Diebold
3ccb636dd8
Merge pull request #19566 from flodiebold/push-vzpyzvpkwkyt
...
Fix dyn compatibility code bypassing callable_item_signature query
2025-04-10 15:11:34 +00:00
Florian Diebold
505521efd6
Fix dyn compatibility code bypassing callable_item_signature query
2025-04-10 16:56:17 +02:00
dependabot[bot]
d84194c8ee
chore(deps): bump crossbeam-channel from 0.5.14 to 0.5.15
...
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.5.14 to 0.5.15.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.14...crossbeam-channel-0.5.15 )
---
updated-dependencies:
- dependency-name: crossbeam-channel
dependency-version: 0.5.15
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-10 14:46:08 +00:00
Lukas Wirth
ff008f1877
fix: Walk const block expressions for unsafety checking
2025-04-10 16:10:30 +02:00
Lukas Wirth
baecfcd9fc
fix: Fix invalid signature bitflags
2025-04-10 15:39:27 +02:00
Lukas Wirth
3fbcd68411
Merge pull request #19461 from Hmikihiro/shadow_by_module
...
fix: shadow type by module
2025-04-10 12:20:14 +00:00
Lukas Wirth
a10a771678
Merge pull request #19555 from Urgau/patch-1
...
Enable `[canonicalize-issue-links]` and `[no-mentions]` in triagebot
2025-04-10 11:48:47 +00:00
Lukas Wirth
8e18cd6141
Merge pull request #19559 from ChayimFriedman2/rust-186
...
internal: Switch to Rust 1.86.0
2025-04-10 08:33:14 +00:00
Chayim Refael Friedman
c7202e8766
Remove all upcasts!
...
It turns out there were a lot redundant too.
2025-04-10 11:08:38 +03:00
Chayim Refael Friedman
8e3f82205c
Update MSRV to Rust 1.86.0
2025-04-10 11:06:09 +03:00
Hayashi Mikihiro
b6cf8f2499
Update crates/hir-def/src/resolver.rs
...
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2025-04-10 16:29:10 +09:00
Hayashi Mikihiro
a458b7d6bd
TypeNs contain module
...
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-04-10 16:29:10 +09:00
Hayashi Mikihiro
b9c7a9b8d5
return single option
...
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-04-10 16:29:10 +09:00
Hayashi Mikihiro
231918f56b
fix: shadow type by module
...
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-04-10 16:29:10 +09:00
Chayim Refael Friedman
df0873e888
Fix a small bug with catastrophic effects
...
The tiny bug was that `FnFlags::DEPRECTAED_SAFE_2024` and `FnFlags::RUSTC_ALLOW_INCOHERENT_IMPLS` were assigned the same value.
The catastrophic effect was that every function marked as `#[rustc_allow_incoherent_impl]` was considered safe-deprecated for edition 2024, which caused it to be considered unsafe to call when called from edition 2024. And that includes `<[_]>::into_vec()`, which is called by the `vec![]` macro. So, catastrophic effect.
This innocent-looking bug probably arose from the item tree rewrite. No review would've catch that!
2025-04-10 09:37:37 +03:00
Urgau
2f6385f3dc
Enable [canonicalize-issue-links] and [no-mentions] in triagebot
2025-04-09 22:15:51 +02:00
David Barsky
d711d0a19a
Merge pull request #19553 from davidbarsky/davidbarsky/fix-rustdoc-tests
...
internal: fix `NameGenerator`'s and `AnyMap`'s rustdocs
2025-04-09 16:56:31 +00:00