diff options
| author | lcnr <rust@lcnr.de> | 2023-11-13 12:59:58 +0000 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2023-11-13 14:13:54 +0000 |
| commit | 85883503c30f672fc53e36f43e5852438238a6d5 (patch) | |
| tree | 6871801b02f1bb11b6ed50940cf092f07b3763a4 /compiler | |
| parent | 891c6eebe697a7da6e38214e6acebb883b557d4b (diff) | |
| download | rust-85883503c30f672fc53e36f43e5852438238a6d5.tar.gz rust-85883503c30f672fc53e36f43e5852438238a6d5.zip | |
add fixme to `RegionCtxt`
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_borrowck/src/renumber.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_borrowck/src/renumber.rs b/compiler/rustc_borrowck/src/renumber.rs index ec0131c5349..a31d39e14cd 100644 --- a/compiler/rustc_borrowck/src/renumber.rs +++ b/compiler/rustc_borrowck/src/renumber.rs @@ -28,6 +28,9 @@ pub fn renumber_mir<'tcx>( renumberer.visit_body(body); } +// FIXME(@lcnr): A lot of these variants overlap and it seems like +// 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)] pub(crate) enum RegionCtxt { Location(Location), |
