We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6c63bd commit 5b5dd1bCopy full SHA for 5b5dd1b
compiler/rustc_infer/src/infer/mod.rs
@@ -528,8 +528,8 @@ pub enum RegionVariableOrigin {
528
529
/// Region variables created as the values for early-bound regions.
530
///
531
- /// FIXME(@lcnr): This can also store a `DefId`, similar to
532
- /// `TypeVariableOriginKind::TypeParameterDefinition`.
+ /// FIXME(@lcnr): This should also store a `DefId`, similar to
+ /// `TypeVariableOrigin`.
533
RegionParameterDefinition(Span, Symbol),
534
535
/// Region variables created when instantiating a binder with
0 commit comments