about summary refs log tree commit diff
path: root/compiler/rustc_infer/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-05-09 15:43:39 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-05-10 09:55:07 +1000
commit5b5dd1b3de76161d2079eca9d3c4fe280190ca1c (patch)
tree8a6addb1f38c4c77c332860851937e59b4030b8d /compiler/rustc_infer/src
parentd6c63bdb2188d4c90cf0e9958d7744834a132072 (diff)
downloadrust-5b5dd1b3de76161d2079eca9d3c4fe280190ca1c.tar.gz
rust-5b5dd1b3de76161d2079eca9d3c4fe280190ca1c.zip
Fix out-of-date comment.
The type name has changed.
Diffstat (limited to 'compiler/rustc_infer/src')
-rw-r--r--compiler/rustc_infer/src/infer/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_infer/src/infer/mod.rs b/compiler/rustc_infer/src/infer/mod.rs
index bb53aec0b4d..9ce3108d0c9 100644
--- a/compiler/rustc_infer/src/infer/mod.rs
+++ b/compiler/rustc_infer/src/infer/mod.rs
@@ -528,8 +528,8 @@ pub enum RegionVariableOrigin {
 
     /// Region variables created as the values for early-bound regions.
     ///
-    /// FIXME(@lcnr): This can also store a `DefId`, similar to
-    /// `TypeVariableOriginKind::TypeParameterDefinition`.
+    /// FIXME(@lcnr): This should also store a `DefId`, similar to
+    /// `TypeVariableOrigin`.
     RegionParameterDefinition(Span, Symbol),
 
     /// Region variables created when instantiating a binder with