rust-analyzer/crates/hir-ty/src
bors 3321799e8f Auto merge of #14368 - HKalbasi:mir, r=HKalbasi
MIR episode 3

This PR adds lowering for try operator and overloaded dereference, and adds evaluating support for function pointers and trait objects. It also adds a flag to `analysis-stats` to show percentage of functions that it fails to emit mir for them, which is currently `20%` (which is somehow lying, as most of the supported `80%` are tests). The most offenders are closure (1975 items) and overloaded index (415 items). I will try to add overloaded index before monday to have it in this PR, and tackle the closure in the next episode.
2023-03-21 19:57:27 +00:00
..
consteval Support evaluating inherent associated constants with generics 2023-03-21 02:20:30 +03:30
diagnostics desugar ? operator 2023-03-17 13:08:35 +03:30
infer Support evaluating inherent associated constants with generics 2023-03-21 02:20:30 +03:30
layout Add BindingId 2023-03-06 21:09:08 +03:30
mir Support evaluating inherent associated constants with generics 2023-03-21 02:20:30 +03:30
tests Auto merge of #14368 - HKalbasi:mir, r=HKalbasi 2023-03-21 19:57:27 +00:00
autoderef.rs ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
builder.rs beginning of MIR 2023-02-27 23:45:54 +03:30
chalk_db.rs beginning of MIR 2023-02-27 23:45:54 +03:30
chalk_ext.rs Simplify 2023-03-14 20:22:11 +01:00
consteval.rs Support evaluating inherent associated constants with generics 2023-03-21 02:20:30 +03:30
db.rs Support evaluating inherent associated constants with generics 2023-03-21 02:20:30 +03:30
diagnostics.rs lint incoherent inherent impls 2023-03-14 19:20:44 +01:00
display.rs Add View Mir command and fix some bugs 2023-03-06 21:09:09 +03:30
infer.rs Desugar try blocks 2023-03-19 13:02:51 +03:30
inhabitedness.rs beginning of MIR 2023-02-27 23:45:54 +03:30
interner.rs beginning of MIR 2023-02-27 23:45:54 +03:30
lang_items.rs ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
layout.rs Merge branch 'master' into sync-from-rust 2023-03-13 10:21:53 +02:00
lib.rs Support function pointer MIR lowering 2023-03-17 13:08:35 +03:30
lower.rs desugar ? operator 2023-03-17 13:08:35 +03:30
mapping.rs ⬆️ rust-analyzer 2022-10-11 10:37:35 +03:00
method_resolution.rs Support record pattern MIR lowering 2023-03-17 13:08:36 +03:30
mir.rs Support "for loop" MIR lowering 2023-03-06 21:09:09 +03:30
primitive.rs style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
test_db.rs internal: Rename AstDatabase to ExpandDatabase 2023-03-13 16:35:41 +01:00
tests.rs internal: Rename AstDatabase to ExpandDatabase 2023-03-13 16:35:41 +01:00
tls.rs ⬆️ rust-analyzer 2023-01-09 10:36:22 -08:00
traits.rs Support range MIR lowering 2023-03-18 02:06:36 +03:30
utils.rs desugar ? operator 2023-03-17 13:08:35 +03:30