@@ -376,7 +376,7 @@ impl<'a, 'gcx, 'tcx> Env<'a, 'gcx, 'tcx> {
376
376
pub fn check_sub ( & self , t1 : Ty < ' tcx > , t2 : Ty < ' tcx > ) {
377
377
match self . sub ( t1, t2) {
378
378
Ok ( InferOk { obligations, .. } ) => {
379
- // FIXME(#32730) once obligations are being propagated, assert the right thing.
379
+ // None of these tests should require nested obligations:
380
380
assert ! ( obligations. is_empty( ) ) ;
381
381
}
382
382
Err ( ref e) => {
@@ -400,7 +400,7 @@ impl<'a, 'gcx, 'tcx> Env<'a, 'gcx, 'tcx> {
400
400
pub fn check_lub ( & self , t1 : Ty < ' tcx > , t2 : Ty < ' tcx > , t_lub : Ty < ' tcx > ) {
401
401
match self . lub ( t1, t2) {
402
402
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:
404
404
assert ! ( obligations. is_empty( ) ) ;
405
405
406
406
self . assert_eq ( t, t_lub) ;
@@ -415,7 +415,7 @@ impl<'a, 'gcx, 'tcx> Env<'a, 'gcx, 'tcx> {
415
415
match self . glb ( t1, t2) {
416
416
Err ( e) => panic ! ( "unexpected error computing LUB: {:?}" , e) ,
417
417
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:
419
419
assert ! ( obligations. is_empty( ) ) ;
420
420
421
421
self . assert_eq ( t, t_glb) ;
0 commit comments