diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-07 20:05:44 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-07 20:05:44 +0000 |
commit | 812e47785b4f14a961f97414d0ca69d8c9bf5c9c (patch) | |
tree | f4e1936de76bee89502613ce038f4ecaef19ec4b /crates/ra_syntax/src/lexer | |
parent | e2592cf09087ae0a6cad5b588cbf1ab1161440e9 (diff) | |
parent | 5d15dd70b037b3d1623ebd83d8ef0f66ad6950af (diff) |
Merge #451
451: More type inference for more binary expressions r=flodiebold a=marcusklaas
Implements more of https://github.com/rust-analyzer/rust-analyzer/issues/390. Just works for primitive (numeric) types for now.
Found an issue where `let x: Ty = expr;` doesn't actually propagate the type information unless `Ty` is primitive and numeric. I'll open an issue for this.
Co-authored-by: Marcus Klaas de Vries <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/lexer')
0 files changed, 0 insertions, 0 deletions