Skip to content

Commit 8588350

Browse files
committed
add fixme to RegionCtxt
1 parent 891c6ee commit 8588350

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/rustc_borrowck/src/renumber.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ pub fn renumber_mir<'tcx>(
2828
renumberer.visit_body(body);
2929
}
3030

31+
// FIXME(@lcnr): A lot of these variants overlap and it seems like
32+
// this type is only used to decide which region should be used
33+
// as representative. This should be cleaned up.
3134
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]
3235
pub(crate) enum RegionCtxt {
3336
Location(Location),

0 commit comments

Comments
 (0)