Skip to content

Commit c14849f

Browse files
committed
remove warning for the 2 unused context sharing fields
1 parent 1bcf40d commit c14849f

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

polonius-engine/src/output/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,10 @@ struct Context<'ctx, T: FactTypes> {
140140
// initialization and liveness, so already computed by the time we get to borrowcking.
141141
cfg_edge: Relation<(T::Point, T::Point)>,
142142

143-
// Partial results possibly used by other variants as input
143+
// Partial results possibly used by other variants as input. Not currently used yet.
144+
#[allow(dead_code)]
144145
potential_errors: Option<FxHashSet<T::Loan>>,
146+
#[allow(dead_code)]
145147
potential_subset_errors: Option<Relation<(T::Origin, T::Origin)>>,
146148
}
147149

0 commit comments

Comments
 (0)