@@ -376,7 +376,7 @@ impl<'a, 'gcx, 'tcx> Env<'a, 'gcx, 'tcx> {
376376 pub fn check_sub ( & self , t1 : Ty < ' tcx > , t2 : Ty < ' tcx > ) {
377377 match self . sub ( t1, t2) {
378378 Ok ( InferOk { obligations, .. } ) => {
379- // FIXME(#32730) once obligations are being propagated, assert the right thing.
379+ // None of these tests should require nested obligations:
380380 assert ! ( obligations. is_empty( ) ) ;
381381 }
382382 Err ( ref e) => {
@@ -400,7 +400,7 @@ impl<'a, 'gcx, 'tcx> Env<'a, 'gcx, 'tcx> {
400400 pub fn check_lub ( & self , t1 : Ty < ' tcx > , t2 : Ty < ' tcx > , t_lub : Ty < ' tcx > ) {
401401 match self . lub ( t1, t2) {
402402 Ok ( InferOk { obligations, value : t } ) => {
403- // FIXME(#32730) once obligations are being propagated, assert the right thing.
403+ // None of these tests should require nested obligations:
404404 assert ! ( obligations. is_empty( ) ) ;
405405
406406 self . assert_eq ( t, t_lub) ;
@@ -415,7 +415,7 @@ impl<'a, 'gcx, 'tcx> Env<'a, 'gcx, 'tcx> {
415415 match self . glb ( t1, t2) {
416416 Err ( e) => panic ! ( "unexpected error computing LUB: {:?}" , e) ,
417417 Ok ( InferOk { obligations, value : t } ) => {
418- // FIXME(#32730) once obligations are being propagated, assert the right thing.
418+ // None of these tests should require nested obligations:
419419 assert ! ( obligations. is_empty( ) ) ;
420420
421421 self . assert_eq ( t, t_glb) ;
0 commit comments