]> git.lizzy.rs Git - rust.git/commit
Restrict some postfix completions to bool and unknown expr.
authorMarco Groppo <marco.groppo@gmail.com>
Tue, 16 Jul 2019 13:06:15 +0000 (15:06 +0200)
committerMarco Groppo <marco.groppo@gmail.com>
Wed, 17 Jul 2019 19:02:36 +0000 (21:02 +0200)
commitd1608538de6fe8724b24c4f4988ea8a9d3ca93bd
tree41c18d4bc2ad5f136e83079917e70ebcef947b04
parent6deeabf686950636ea9f9bce9da96cf452f20765
Restrict some postfix completions to bool and unknown expr.

Restrict `if` and `while` postfix completions to boolean expressions and
expressions of an unknown type.
crates/ra_ide_api/src/completion/complete_postfix.rs