mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 04:56:25 +03:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user