rust-analyzer/crates/ra_hir_ty
Emil Lauridsen 85d44cad45 infer: Make expected rhs type for plain assign the lhs type
This fixes an issue where the following code sample would fail to infer
the type contained in the option:
```rust
fn main() {
    let mut end = None; // TODO: Fix inference for this in RA
    loop {
        end = Some(true);
    }
}
```
2020-05-10 16:24:04 +02:00
..
src infer: Make expected rhs type for plain assign the lhs type 2020-05-10 16:24:04 +02:00
Cargo.toml Bump deps 2020-05-01 15:29:03 +03:00