rust-analyzer/crates/hir_ty/src
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
..
diagnostics Don't emit arg count diagnostics for method calls with unknown receiver 2021-01-01 20:49:18 +01:00
infer Merge #7080 2021-01-01 13:45:10 +00:00
tests Merge #7134 2021-01-02 14:16:26 +00:00
traits Bump chalk 2020-12-23 12:58:23 +02:00
autoderef.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
db.rs Add ConstParams to the HIR 2021-01-01 10:06:42 +01:00
diagnostics.rs decl_check: don't pass db around so often 2020-12-17 01:19:56 +01:00
display.rs Merge #6845 2020-12-12 18:06:36 +00:00
infer.rs Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
lib.rs Don't emit arg count diagnostics for method calls with unknown receiver 2021-01-01 20:49:18 +01:00
lower.rs Add ConstParams to the HIR 2021-01-01 10:06:42 +01:00
method_resolution.rs Use correct, full substs for self type in impl 2020-12-04 18:43:47 +01:00
op.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
primitive.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
test_db.rs Introduce anchored_path 2020-12-09 19:07:05 +03:00
tests.rs Replace RacyFlag with OnceCell 2020-11-11 03:11:40 +01:00
traits.rs Upgrade Chalk 2020-12-07 11:48:58 +01:00
utils.rs Higher-ranked trait bounds for where clauses 2020-12-17 22:01:42 +01:00