Rollup merge of #70177 - bjorn3:patch-2, r=Dylan-DPC

Fix oudated comment for NamedRegionMap

`ResolveLifetimes` uses a `LocalDefId` since #66131.
This commit is contained in:
Mazdak Farrokhzad
2020-03-21 05:33:28 +01:00
committed by GitHub
+1 -1
View File
@@ -133,7 +133,7 @@ fn subst<'a, L>(self, mut params: L, map: &NamedRegionMap) -> Option<Region>
/// that it corresponds to.
///
/// FIXME. This struct gets converted to a `ResolveLifetimes` for
/// actual use. It has the same data, but indexed by `DefIndex`. This
/// actual use. It has the same data, but indexed by `LocalDefId`. This
/// is silly.
#[derive(Default)]
struct NamedRegionMap {