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 a7a60dc commit b2d16f3Copy full SHA for b2d16f3
src/librustc_mir/borrow_check/nll/region_infer/mod.rs
@@ -343,11 +343,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
343
debug!("add_live_point: @{:?} Adding cause {:?}", point, cause);
344
345
let element = self.elements.index(point);
346
- if self.liveness_constraints.add_element(v, element, &cause) {
347
- true
348
- } else {
349
- false
350
- }
+ self.liveness_constraints.add_element(v, element, &cause)
351
}
352
353
/// Indicates that the region variable `sup` must outlive `sub` is live at the point `point`.
0 commit comments