rust-analyzer/crates/hir-ty/src/tests
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
..
coercion.rs Support overloaded deref MIR lowering 2023-03-17 14:02:55 +03:30
diagnostics.rs Set expectation for no-semi expression statements to unit 2023-03-04 12:48:57 +01:00
display_source_code.rs Display generic arguments for associated types 2022-10-27 19:18:55 +09:00
incremental.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
macros.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
method_resolution.rs Support overloaded deref MIR lowering 2023-03-17 14:02:55 +03:30
never_type.rs style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
patterns.rs Correctly handle non-semi statement expressions for never coercions 2023-03-04 19:48:03 +01:00
regression.rs Add regression test 2023-03-19 16:58:10 +09:00
simple.rs Implement some intrinsics 2023-03-20 21:48:01 +03:30
traits.rs Desugar try blocks 2023-03-19 13:02:51 +03:30