Skip to content

Commit 134aba8

Browse files
committed
move errors: fix some inconsistencies in naming
1 parent fd63099 commit 134aba8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

polonius-engine/src/output/initialization.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ fn compute_move_errors<T: FactTypes>(
141141
// path through the CFG to Point such that `Path` has been moved out by the
142142
// time we arrive at `Point` without it being re-initialized for sure.
143143
let path_maybe_uninitialized_on_exit =
144-
iteration.variable::<(T::Path, T::Point)>("path_maybe_deinitialized_on_exit");
144+
iteration.variable::<(T::Path, T::Point)>("path_maybe_uninitialized_on_exit");
145145

146146
// move_error(Path, Point): There is an access to `Path` at `Point`, but
147147
// `Path` is potentially moved (or never initialised).
@@ -175,7 +175,7 @@ fn compute_move_errors<T: FactTypes>(
175175
);
176176

177177
// path_maybe_uninitialized_on_exit(path, point2) :-
178-
// path_maybe_uninitialized_exit(path, point1),
178+
// path_maybe_uninitialized_on_exit(path, point1),
179179
// cfg_edge_(point1, point2)
180180
// !path_assigned_at(point1, point2).
181181
path_maybe_uninitialized_on_exit.from_leapjoin(

0 commit comments

Comments
 (0)