Correct a comment.
I tried simplifying `RegionCtxt`, which led me to finding that the fields are printed in `sccs_info`.
This commit is contained in:
parent
87293c9585
commit
609b9a67c9
@ -26,9 +26,7 @@ pub fn renumber_mir<'tcx>(
|
|||||||
renumberer.visit_body(body);
|
renumberer.visit_body(body);
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME(@lcnr): A lot of these variants overlap and it seems like
|
// The fields are used only for debugging output in `sccs_info`.
|
||||||
// this type is only used to decide which region should be used
|
|
||||||
// as representative. This should be cleaned up.
|
|
||||||
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]
|
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]
|
||||||
pub(crate) enum RegionCtxt {
|
pub(crate) enum RegionCtxt {
|
||||||
Location(Location),
|
Location(Location),
|
||||||
|
Loading…
Reference in New Issue
Block a user