rust-analyzer/crates/test-utils/src
bors 034d7c8537 Auto merge of #14787 - HKalbasi:mir2, r=HKalbasi
MIR episode 5

This PR inits drop support (it is very broken at this stage, some things are dropped multiple time, drop scopes are wrong, ...) and adds stdout support (`println!` doesn't work since its expansion is dummy, but `stdout().write(b"hello world\n")` works if you use `RA_SYSROOT_HACK`) for interpreting. There is no useful unit test that it can interpret yet, but it is a good sign that it didn't hit a major road block yet.

In MIR lowering, it adds support for slice pattern and anonymous const blocks, and some fixes so that we can evaluate `SmolStr::new_inline` in const eval. With these changes, 57 failed mir body remains.
2023-05-18 09:44:26 +00:00
..
assert_linear.rs use pointer args 2023-01-02 14:52:32 +00:00
bench_fixture.rs Moar linting: needless_borrow, let_unit_value, ... 2022-12-25 05:07:47 -05:00
fixture.rs Add minicore smoke test 2023-04-18 17:38:38 +03:30
lib.rs Highlight closure captures when cursor is on pipe 2023-05-02 08:59:40 +02:00
minicore.rs Auto merge of #14787 - HKalbasi:mir2, r=HKalbasi 2023-05-18 09:44:26 +00:00