diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-05-03 18:54:54 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-05-03 18:54:54 +0100 |
commit | 11cc8024a1897a0c844a1f7aca4b20ee34b95b50 (patch) | |
tree | 4e5c79b8302e416d02d95a11f71e13656a26b4fe /crates/ra_ide_api/src/completion/complete_postfix.rs | |
parent | 26b499811489f72ad5176d68d40c9a0748620417 (diff) | |
parent | 4ba4747578ba22033f6dc8ac9f429b678e37e578 (diff) |
Merge #1229
1229: Mark unused mbe variable as `Binding::Empty` r=matklad a=edwin0cheng
This PR fixes a regression bug in In #1228, which incorrect expand an empty binding :
* Introduce a new Binding type `Binding::Empty`.
* Mark all unused binding variables are empty and error out in expansion instead of just by passing.
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src/completion/complete_postfix.rs')
0 files changed, 0 insertions, 0 deletions