add comment per @nikomatsakis request

This commit is contained in:
Douglas Campos 2017-09-21 11:19:52 -04:00
parent c900abf42d
commit 119882eaa5

View File

@ -31,6 +31,7 @@ impl<'a, 'tcx> TyCtxt<'a, 'tcx, 'tcx> {
/// (necessarily) resolve all nested obligations on the impl. Note /// (necessarily) resolve all nested obligations on the impl. Note
/// that type check should guarantee to us that all nested /// that type check should guarantee to us that all nested
/// obligations *could be* resolved if we wanted to. /// obligations *could be* resolved if we wanted to.
/// Assumes that this is run after the entire crate has been successfully type-checked.
pub fn trans_fulfill_obligation(self, pub fn trans_fulfill_obligation(self,
span: Span, span: Span,
param_env: ty::ParamEnv<'tcx>, param_env: ty::ParamEnv<'tcx>,