aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/diagnostics/expr.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-01-02 16:23:06 +0000
committerGitHub <[email protected]>2021-01-02 16:23:06 +0000
commit510abef5da1427c542e7b37dcea805c7b022984c (patch)
treef049cbe7e0653b48bc6003bcb1afd86db4b72cf1 /crates/hir_ty/src/diagnostics/expr.rs
parent3b347eaa4eae6d15921bd618471576b48c81afef (diff)
parentbfe6a8e71afc0d3bee47261f83647b28eca0aae6 (diff)
Merge #7130
7130: Add extract_assignment assist r=Jesse-Bakker a=Jesse-Bakker Add extract-assignment assist (#7006). Assist is for now only implemented on if/match-statements where the assigment is the last statement in every block, as for other cases, one would have to check whether the assignment has effects on the rest of the block and extract a temporary variable for it in the block. Co-authored-by: Jesse Bakker <[email protected]>
Diffstat (limited to 'crates/hir_ty/src/diagnostics/expr.rs')
0 files changed, 0 insertions, 0 deletions