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 7af913f commit 25785bbCopy full SHA for 25785bb
compiler/rustc_infer/src/infer/outlives/for_liveness.rs
@@ -85,11 +85,11 @@ where
85
// alias.
86
if outlives_bounds.contains(&tcx.lifetimes.re_static) {
87
// no
88
- } else if let Some(r) = outlives_bounds.first()
89
- && outlives_bounds[1..].iter().all(|other_r| other_r == r)
90
- {
91
- assert!(r.type_flags().intersects(ty::TypeFlags::HAS_FREE_REGIONS));
92
- r.visit_with(self);
+ // } else if let Some(r) = outlives_bounds.first()
+ // && outlives_bounds[1..].iter().all(|other_r| other_r == r)
+ // {
+ // assert!(r.type_flags().intersects(ty::TypeFlags::HAS_FREE_REGIONS));
+ // r.visit_with(self);
93
} else {
94
// Skip lifetime parameters that are not captured, since they do
95
// not need to be live.
0 commit comments