Skip to content

Commit 609b9a6

Browse files
committed
Correct a comment.
I tried simplifying `RegionCtxt`, which led me to finding that the fields are printed in `sccs_info`.
1 parent 87293c9 commit 609b9a6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

compiler/rustc_borrowck/src/renumber.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ pub fn renumber_mir<'tcx>(
2626
renumberer.visit_body(body);
2727
}
2828

29-
// FIXME(@lcnr): A lot of these variants overlap and it seems like
30-
// this type is only used to decide which region should be used
31-
// as representative. This should be cleaned up.
29+
// The fields are used only for debugging output in `sccs_info`.
3230
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]
3331
pub(crate) enum RegionCtxt {
3432
Location(Location),

0 commit comments

Comments
 (0)