Skip to content

Commit

Permalink
TODO -> FIXME
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino authored and Paul Daniel Faria committed Oct 13, 2017
1 parent 88b02ef commit e99702f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/librustc_mir/transform/nll/infer.rs
Expand Up @@ -13,13 +13,13 @@ pub struct InferenceContext {

pub struct InferenceError {
pub constraint_point: Location,
pub name: (), // TODO(nashenas88) RegionName
pub name: (), // FIXME(nashenas88) RegionName
}

newtype_index!(InferenceErrorIndex);

struct VarDefinition {
name: (), // TODO(nashenas88) RegionName
name: (), // FIXME(nashenas88) RegionName
value: Region,
capped: bool,
}
Expand Down Expand Up @@ -189,12 +189,12 @@ impl<'a, 'gcx: 'tcx, 'tcx: 'a> Dfs<'a, 'gcx, 'tcx> {
};

if successor_points.is_empty() {
// TODO handle free regions
// FIXME handle free regions
// If we reach the END point in the graph, then copy
// over any skolemized end points in the `from_region`
// and make sure they are included in the `to_region`.
// for region_decl in self.infcx.tcx.tables.borrow().free_region_map() {
// // TODO(nashenas88) figure out skolemized_end points
// // FIXME(nashenas88) figure out skolemized_end points
// let block = self.env.graph.skolemized_end(region_decl.name);
// let skolemized_end_point = Location {
// block,
Expand Down

0 comments on commit e99702f

Please sign in to comment.