add comments
Co-authored-by: lcnr <rust@lcnr.de>
This commit is contained in:
parent
ea08d3a47c
commit
ce14a1eba0
1 changed files with 5 additions and 0 deletions
|
@ -189,6 +189,11 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Equates two values returning the nested goals without adding them
|
||||||
|
/// to the nested goals of the `EvalCtxt`.
|
||||||
|
///
|
||||||
|
/// If possible, try using `eq` instead which automatically handles nested
|
||||||
|
/// goals correctly.
|
||||||
#[instrument(level = "debug", skip(self, param_env), ret)]
|
#[instrument(level = "debug", skip(self, param_env), ret)]
|
||||||
pub(super) fn eq_and_get_goals<T: ToTrace<'tcx>>(
|
pub(super) fn eq_and_get_goals<T: ToTrace<'tcx>>(
|
||||||
&self,
|
&self,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue