Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7dcf300

Browse files
authoredMar 20, 2020
Rollup merge of rust-lang#70177 - bjorn3:patch-2, r=Dylan-DPC
Fix oudated comment for NamedRegionMap `ResolveLifetimes` uses a `LocalDefId` since rust-lang#66131.
2 parents cb57aeb + 3f6236e commit 7dcf300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/librustc_resolve/late/lifetimes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ impl RegionExt for Region {
133133
/// that it corresponds to.
134134
///
135135
/// FIXME. This struct gets converted to a `ResolveLifetimes` for
136-
/// actual use. It has the same data, but indexed by `DefIndex`. This
136+
/// actual use. It has the same data, but indexed by `LocalDefId`. This
137137
/// is silly.
138138
#[derive(Default)]
139139
struct NamedRegionMap {

0 commit comments

Comments
 (0)
Please sign in to comment.