Skip to content

Commit 2abb463

Browse files
committed
add a fixme that move errors should be terminal
1 parent 01cc48f commit 2abb463

File tree

1 file changed

+3
-0
lines changed
  • polonius-engine/src/output

1 file changed

+3
-0
lines changed

polonius-engine/src/output/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ impl<T: FactTypes> Output<T> {
169169
move_errors,
170170
) = initialization::compute(initialization_ctx, &cfg_edge, &mut result);
171171

172+
// FIXME: move errors should prevent the computation from continuing: we can't compute
173+
// liveness and analyze loans accurately when there are move errors, and should early
174+
// return here.
172175
for &(path, location) in move_errors.iter() {
173176
result.move_errors.entry(location).or_default().push(path);
174177
}

0 commit comments

Comments
 (0)