Skip to content

Commit 119882e

Browse files
committed
add comment per @nikomatsakis request
1 parent c900abf commit 119882e

File tree

1 file changed

+1
-0
lines changed
  • src/librustc/traits/trans

1 file changed

+1
-0
lines changed

src/librustc/traits/trans/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ impl<'a, 'tcx> TyCtxt<'a, 'tcx, 'tcx> {
3131
/// (necessarily) resolve all nested obligations on the impl. Note
3232
/// that type check should guarantee to us that all nested
3333
/// obligations *could be* resolved if we wanted to.
34+
/// Assumes that this is run after the entire crate has been successfully type-checked.
3435
pub fn trans_fulfill_obligation(self,
3536
span: Span,
3637
param_env: ty::ParamEnv<'tcx>,

0 commit comments

Comments
 (0)