rust-analyzer/crates/ra_hir_ty/src/infer
bors[bot] d590f6ce12
Merge #2592
2592: Add std::ops::Index support for infering r=edwin0cheng a=edwin0cheng

see also #2534

Seem like this can't fix #2534 for this case:

```rust
fn foo3(bar: [usize; 2]) {
    let baz = bar[1];   // <--- baz is still unknown ?
    println!("{}", baz);
}
```

Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2019-12-20 14:36:53 +00:00
..
coerce.rs Fix coercion from &Foo to an inference variable in a reference 2019-12-08 13:06:59 +01:00
expr.rs Merge #2592 2019-12-20 14:36:53 +00:00
pat.rs Extract unification code to unify module 2019-12-02 19:33:13 +01:00
path.rs Introduce ContainerId 2019-12-20 12:07:23 +01:00
unify.rs Fix #2467 2019-12-03 15:01:23 +01:00