]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #65566 - estebank:let-expr-as-ty, r=Centril
authorMazdak Farrokhzad <twingoow@gmail.com>
Sun, 27 Oct 2019 15:46:51 +0000 (16:46 +0100)
committerGitHub <noreply@github.com>
Sun, 27 Oct 2019 15:46:51 +0000 (16:46 +0100)
Use heuristics to suggest assignment

When detecting a possible `=` -> `:` typo in a `let` binding, suggest
assigning instead of setting the type.

Partially address #57828.


Trivial merge