about summary refs log tree commit diff
path: root/src/tools/rust-analyzer
AgeCommit message (Collapse)AuthorLines
2025-04-10internal: add `prime-caches` subcommandDavid Barsky-6/+101
2025-04-10Merge pull request #19566 from flodiebold/push-vzpyzvpkwkytFlorian Diebold-5/+4
Fix dyn compatibility code bypassing callable_item_signature query
2025-04-10Fix dyn compatibility code bypassing callable_item_signature queryFlorian Diebold-5/+4
2025-04-10chore(deps): bump crossbeam-channel from 0.5.14 to 0.5.15dependabot[bot]-3/+3
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-10fix: Walk const block expressions for unsafety checkingLukas Wirth-0/+21
2025-04-10fix: Fix invalid signature bitflagsLukas Wirth-103/+100
2025-04-10Merge pull request #19461 from Hmikihiro/shadow_by_moduleLukas Wirth-7/+180
fix: shadow type by module
2025-04-10Merge pull request #19555 from Urgau/patch-1Lukas Wirth-0/+6
Enable `[canonicalize-issue-links]` and `[no-mentions]` in triagebot
2025-04-10Merge pull request #19559 from ChayimFriedman2/rust-186Lukas Wirth-1258/+1010
internal: Switch to Rust 1.86.0
2025-04-10Remove all upcasts!Chayim Refael Friedman-1257/+1009
It turns out there were a lot redundant too.
2025-04-10Update MSRV to Rust 1.86.0Chayim Refael Friedman-1/+1
2025-04-10Update crates/hir-def/src/resolver.rsHayashi Mikihiro-1/+1
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2025-04-10TypeNs contain moduleHayashi Mikihiro-88/+71
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-04-10return single optionHayashi Mikihiro-78/+59
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-04-10fix: shadow type by moduleHayashi Mikihiro-72/+281
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-04-10Fix a small bug with catastrophic effectsChayim Refael Friedman-1/+1
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-09Enable `[canonicalize-issue-links]` and `[no-mentions]` in triagebotUrgau-0/+6
2025-04-09Merge pull request #19553 from davidbarsky/davidbarsky/fix-rustdoc-testsDavid Barsky-4/+4
internal: fix `NameGenerator`'s and `AnyMap`'s rustdocs
2025-04-09internal: fix `NameGenerator`'s and `AnyMap`'s rustdocsDavid Barsky-4/+4
2025-04-09internal: rename `children_modules` to `child_modules`David Barsky-39/+45
2025-04-09Merge pull request #19550 from Veykril/push-rsskztqzwuzkLukas Wirth-87/+104
refactor: Turn `LifetimeRef` into an enum
2025-04-09refactor: Turn `LifetimeRef` into an enumLukas Wirth-87/+104
This makes things more structured
2025-04-09Merge pull request #19255 from geetanshjuneja/masterLukas Wirth-1/+204
Add children modules feature
2025-04-09Merge pull request #19462 from Veykril/push-ypvprvvwkyllLukas Wirth-7988/+6728
refactor: Lower type-refs before type inference
2025-04-09refactor: Lower type-refs before type inferenceLukas Wirth-7988/+6728
This refactors how we deal with items in hir-def lowering. - It now lowers all of them through an "ExpressionStore" (kind of a misnomer as this point) as their so called *Signatures. - We now uniformly lower type AST into TypeRefs before type inference. - Likewise, this moves macro expansion out of type inference, resulting in a single place where we do non-defmap macro expansion. - Finally, this PR removes a lot of information from ItemTree, making the DefMap a lot less likely to be recomputed and have it only depend on actual early name resolution related information (not 100% true, we still have ADT fields in there but thats a follow up removal).
2025-04-08Rollup merge of #139496 - Skgland:139455-went-too-far, r=VeykrilMatthias Krüger-7/+38
Revert r-a changes of rust-lang/rust#139455 I discovered https://github.com/rust-lang/rust/issues/132735#issuecomment-2784205477 that I might have done too much in rust-lang/rust#132735 by also removing support in r-a. So this reverts the commit with the changes to r-a. r? RalfJung
2025-04-08Merge pull request #19536 from jackh726/closure-inferDavid Barsky-157/+405
Port closure inference from rustc
2025-04-08make hover_feature test less fragileRalf Jung-79/+8
2025-04-08Merge pull request #19541 from Veykril/push-twqrorwqzmwvLukas Wirth-109/+291
fix(auto-import): Prefer imports of matching types for argument lists
2025-04-08fix(auto-import): Prefer imports of matching types for argument lists Lukas Wirth-109/+291
2025-04-07Port closure inference from rustcjackh726-157/+405
2025-04-07Revert "remove rust-analyser support for `extern "rust-intrinsic"` blocks"Bennet Bleßmann-7/+38
This reverts commit 51b51b51d7931da85280382a81c4dd80c73ca754.
2025-04-07cargo xtask tidygeetanshjuneja-2/+9
2025-04-07added children modulesgeetanshjuneja-0/+196
2025-04-07Rollup merge of #139455 - Skgland:remove_rust-intrinsic_ABI, r=oli-obkStuart Cook-64/+9
Remove support for `extern "rust-intrinsic"` blocks Part of rust-lang/rust#132735 Looked manageable and there didn't appear to have been progress in the last two weeks, so decided to give it a try.
2025-04-07Merge pull request #19425 from ConradIrwin/drop-drop-glue-gooLukas Wirth-421/+107
Tidy up drop glue notification
2025-04-07Merge pull request #19511 from snprajwal/fixmesLukas Wirth-47/+36
chore: clean up some FIXMEs
2025-04-07Merge pull request #19432 from ShoyuVanilla/issue-19431Lukas Wirth-26/+134
fix: Yet another false positive invalid cast diagnostic
2025-04-07Merge pull request #19512 from BenjaminBrienen/update-stdxLukas Wirth-97/+131
Upstream stdx changes
2025-04-06upstream stdx changesBenjaminBrienen-97/+131
2025-04-06update docsBennet Bleßmann-26/+2
- src\doc\nomicon\src\ffi.md should also have its ABI list updated
2025-04-06remove rust-analyser support for `extern "rust-intrinsic"` blocksSkgland-38/+7
2025-04-06Merge pull request #19533 from Veykril/push-zxlpwkvzxzwsLukas Wirth-14/+14
chore: Set up a proper job matrix for rust-cross
2025-04-06chore: Set up a proper job matrix for rust-crossLukas Wirth-14/+14
2025-04-06Merge pull request #19531 from Veykril/push-kxyrpznnllkxLukas Wirth-54/+129
fix: Fix `format_args` lowering for >=1.87
2025-04-06fix: Fix `format_args` lowering for >=1.87Lukas Wirth-54/+129
2025-04-05Clean up `rustc-literal-escaper` usage in rust-analyzerGuillaume Gomez-5/+3
2025-04-05Merge pull request #19447 from Natural-selection1/add_impl_forLukas Wirth-0/+27
add more completion about "impl"
2025-04-05Merge pull request #19501 from ChayimFriedman2/macro-expansionLukas Wirth-11/+107
fix: Fix a bug in MBE expansion that arose from incorrect fixing of an older bug in MBE
2025-04-05 the rustdoc file prefix for constants is "constant" not "const"Jonathan Chan Kwan Yin-1/+1