File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
compiler/rustc_trait_selection/src/traits Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -392,6 +392,13 @@ fn negative_impl_exists<'cx, 'tcx>(
392
392
}
393
393
394
394
let mut outlives_env = OutlivesEnvironment :: new ( param_env) ;
395
+ // FIXME -- add "assumed to be well formed" types into the `outlives_env`
396
+
397
+ // "Save" the accumulated implied bounds into the outlives environment
398
+ // (due to the FIXME above, there aren't any, but this step is still needed).
399
+ // The "body id" is given as `CRATE_HIR_ID`, which is the same body-id used
400
+ // by the "dummy" causes elsewhere (body-id is only relevant when checking
401
+ // function bodies with closures).
395
402
outlives_env. save_implied_bounds ( CRATE_HIR_ID ) ;
396
403
397
404
infcx. process_registered_region_obligations (
You can’t perform that action at this time.
0 commit comments