Skip to content

Commit 5b5dd1b

Browse files
committed
Fix out-of-date comment.
The type name has changed.
1 parent d6c63bd commit 5b5dd1b

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_infer/src/infer

1 file changed

+2
-2
lines changed

compiler/rustc_infer/src/infer/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -528,8 +528,8 @@ pub enum RegionVariableOrigin {
528528

529529
/// Region variables created as the values for early-bound regions.
530530
///
531-
/// FIXME(@lcnr): This can also store a `DefId`, similar to
532-
/// `TypeVariableOriginKind::TypeParameterDefinition`.
531+
/// FIXME(@lcnr): This should also store a `DefId`, similar to
532+
/// `TypeVariableOrigin`.
533533
RegionParameterDefinition(Span, Symbol),
534534

535535
/// Region variables created when instantiating a binder with

0 commit comments

Comments
 (0)