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
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
builder.rs
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
consteval.rs
db.rs remove repetitive words 2024-02-23 18:45:03 +08:00
diagnostics.rs
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
interner.rs
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
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
tests.rs
tls.rs
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