We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
add_live_point
1 parent f6723a9 commit 75ac071Copy full SHA for 75ac071
src/librustc_mir/borrow_check/nll/region_infer/mod.rs
@@ -208,6 +208,9 @@ impl<'tcx> RegionInferenceContext<'tcx> {
208
}
209
210
/// Indicates that the region variable `v` is live at the point `point`.
211
+ ///
212
+ /// Returns `true` if this constraint is new and `false` is the
213
+ /// constraint was already present.
214
pub(super) fn add_live_point(&mut self, v: RegionVid, point: Location) -> bool {
215
debug!("add_live_point({:?}, {:?})", v, point);
216
assert!(self.inferred_values.is_none(), "values already inferred");
0 commit comments