rust-analyzer/crates/hir_ty/src/tests
bors[bot] 3b347eaa4e
Merge #7134
7134: Fix infer error of macro invocation in array expr r=edwin0cheng a=edwin0cheng

Fixed following infer error:

```rust
macro_rules! bar { () => {0u32} }
fn test() {
    let a = [bar!()];   // a : [unknown]
}
```

bors r+

Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2021-01-02 14:16:26 +00:00
..
coercion.rs Switch to expect_test from crates.io 2020-08-21 13:19:31 +02:00
display_source_code.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
macros.rs Make macro def krate mandatory 2020-12-15 20:33:05 +01:00
method_resolution.rs Use correct, full substs for self type in impl 2020-12-04 18:43:47 +01:00
never_type.rs Switch to expect_test from crates.io 2020-08-21 13:19:31 +02:00
patterns.rs Implement const pat inference 2020-12-23 12:15:38 +01:00
regression.rs Fix infer error of macro invocation in array expr 2021-01-02 22:06:59 +08:00
simple.rs Add ConstParams to the ide layer 2021-01-01 14:43:16 +01:00
traits.rs Implement async blocks 2020-09-10 20:01:23 +08:00