We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
find_constraint_paths_between_regions
1 parent 8ae730a commit f7ed6e1Copy full SHA for f7ed6e1
src/librustc_mir/borrow_check/nll/region_infer/error_reporting/mod.rs
@@ -205,7 +205,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
205
for constraint in self.constraint_graph
206
.outgoing_edges(r, &self.constraints, fr_static)
207
{
208
- assert_eq!(constraint.sup, r);
+ debug_assert_eq!(constraint.sup, r);
209
let sub_region = constraint.sub;
210
if let Trace::NotVisited = context[sub_region] {
211
context[sub_region] = Trace::FromOutlivesConstraint(constraint);
0 commit comments