We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134aba8 commit 3db4efaCopy full SHA for 3db4efa
polonius-engine/src/output/initialization.rs
@@ -153,12 +153,7 @@ fn compute_move_errors<T: FactTypes>(
153
path_maybe_initialized_on_exit.insert(ctx.path_assigned_at.clone());
154
155
// path_maybe_uninitialized_on_exit(path, point) :- path_moved_at(path, point).
156
- path_maybe_uninitialized_on_exit.insert(
157
- ctx.path_moved_at
158
- .iter()
159
- .map(|&(path, point)| (path, point))
160
- .collect(),
161
- );
+ path_maybe_uninitialized_on_exit.insert(ctx.path_moved_at.clone());
162
163
while iteration.changed() {
164
// path_maybe_initialized_on_exit(path, point2) :-
0 commit comments