convert TODO in traits into a FIXME
This commit is contained in:
parent
013f88b9fb
commit
267574c8df
@ -538,11 +538,14 @@ pub fn normalize_param_env_or_error<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
|
|||||||
let region_scope_tree = region::ScopeTree::default();
|
let region_scope_tree = region::ScopeTree::default();
|
||||||
let free_regions = FreeRegionMap::new();
|
let free_regions = FreeRegionMap::new();
|
||||||
|
|
||||||
// TODO We should really... do something with these. But as of
|
// FIXME. We should really... do something with these region
|
||||||
// this writing we were ignoring them, just without knowing
|
// obligations. But this call just continues the older
|
||||||
// it, and it would take some refactoring to stop doing so.
|
// behavior (i.e., doesn't cause any new bugs), and it would
|
||||||
// (In particular, the needed methods currently live in
|
// take some further refactoring to actually solve them. In
|
||||||
// regionck.) -nmatsakis
|
// particular, we would have to handle implied bounds
|
||||||
|
// properly, and that code is currently largely confined to
|
||||||
|
// regionck (though I made some efforts to extract it
|
||||||
|
// out). -nmatsakis
|
||||||
let _ = infcx.ignore_region_obligations(body_id);
|
let _ = infcx.ignore_region_obligations(body_id);
|
||||||
|
|
||||||
infcx.resolve_regions_and_report_errors(region_context, ®ion_scope_tree, &free_regions);
|
infcx.resolve_regions_and_report_errors(region_context, ®ion_scope_tree, &free_regions);
|
||||||
|
Loading…
Reference in New Issue
Block a user