Skip to content

Commit

Permalink
Rollup merge of rust-lang#70177 - bjorn3:patch-2, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Fix oudated comment for NamedRegionMap

`ResolveLifetimes` uses a `LocalDefId` since rust-lang#66131.
  • Loading branch information
Centril committed Mar 21, 2020
2 parents 855eac3 + 3f6236e commit a3771e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_resolve/late/lifetimes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ impl RegionExt for 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 {
Expand Down

0 comments on commit a3771e4

Please sign in to comment.