rust/crates/hir-ty/src
bors a3236be9d7 Auto merge of #16630 - ShoyuVanilla:fix-closure-kind-inference, r=Veykril
fix: Wrong closure kind deduction for closures with predicates

Completes #16472, fixes #16421

The changed closure kind deduction is mostly simlar to `rustc_hir_typeck/src/closure.rs`.
Porting closure sig deduction from it seems possible too and I'm considering doing it with another PR
2024-02-27 14:41:23 +00:00
..
consteval hir-ty: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
diagnostics internal: format code 2024-02-26 19:10:50 +08:00
infer Auto merge of #16630 - ShoyuVanilla:fix-closure-kind-inference, r=Veykril 2024-02-27 14:41:23 +00:00
layout fix: Split toolchain and datalayout out of CrateData 2024-02-16 14:48:25 +01:00
mir Merge BorrowKind::Unique into BorrowKind::Mut 2024-02-26 01:57:03 +09:00
tests Update expectation tests 2024-02-27 00:18:40 +09:00
autoderef.rs Merge commit '0113bc9388b480fa42c632f57f4f0f7af5813ec1' into sync-from-ra 2024-02-04 10:37:58 +02:00
builder.rs internal: add some more tracing spans inside of hir-ty 2024-02-01 16:10:32 -05:00
chalk_db.rs Don't populate rust_ir::AdtVariantDatum::fields for now due to perf 2024-02-19 17:38:03 +01:00
chalk_ext.rs Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00
consteval.rs Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00
db.rs remove repetitive words 2024-02-23 18:45:03 +08:00
diagnostics.rs Merge commit '7219414e81810fd4d967136c4a0650523892c157' into sync-from-ra 2024-01-28 15:56:54 +02:00
display.rs internal: Remove SELF_REF hack for self referential SyntaxContexts 2024-02-10 16:20:02 +01:00
infer.rs feat: add unresolved-ident diagnostic 2024-02-19 14:12:18 +01:00
inhabitedness.rs Merge commit '0113bc9388b480fa42c632f57f4f0f7af5813ec1' into sync-from-ra 2024-02-04 10:37:58 +02:00
interner.rs Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00
lang_items.rs
layout.rs internal: Remove SELF_REF hack for self referential SyntaxContexts 2024-02-10 16:20:02 +01:00
lib.rs Introduce term search to rust-analyzer 2024-02-11 13:33:29 +02:00
lower.rs internal: Remove SELF_REF hack for self referential SyntaxContexts 2024-02-10 16:20:02 +01:00
mapping.rs Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00
method_resolution.rs internal: Remove dead branches in method_resolutiopn::is_valid_candidate 2024-02-27 10:00:45 +01:00
mir.rs Merge BorrowKind::Unique into BorrowKind::Mut 2024-02-26 01:57:03 +09:00
primitive.rs
test_db.rs Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00
tests.rs hir-ty: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
tls.rs Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00
traits.rs Auto merge of #16630 - ShoyuVanilla:fix-closure-kind-inference, r=Veykril 2024-02-27 14:41:23 +00:00
utils.rs Port closure kind deduction logic from rustc 2024-02-27 00:18:38 +09:00