about summary refs log tree commit diff
path: root/compiler/rustc_middle/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-12-14 23:53:05 +0000
committerMichael Goulet <michael@errs.io>2023-02-16 03:39:59 +0000
commit52f82354dc1dee723b0b1324dda7ddeabc332830 (patch)
tree17da5e920389a2d21395431ae15a525ae45a1d0f /compiler/rustc_middle/src
parenteff2cb7760ffd1ed06fd5a68ba04dcb6689106f6 (diff)
downloadrust-52f82354dc1dee723b0b1324dda7ddeabc332830.tar.gz
rust-52f82354dc1dee723b0b1324dda7ddeabc332830.zip
Make things actually work
Diffstat (limited to 'compiler/rustc_middle/src')
-rw-r--r--compiler/rustc_middle/src/middle/resolve_bound_vars.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/middle/resolve_bound_vars.rs b/compiler/rustc_middle/src/middle/resolve_bound_vars.rs
index cd457696942..b96d07e7dc8 100644
--- a/compiler/rustc_middle/src/middle/resolve_bound_vars.rs
+++ b/compiler/rustc_middle/src/middle/resolve_bound_vars.rs
@@ -10,8 +10,8 @@ use rustc_macros::HashStable;
 #[derive(Clone, Copy, PartialEq, Eq, Hash, TyEncodable, TyDecodable, Debug, HashStable)]
 pub enum ResolvedArg {
     StaticLifetime,
-    EarlyBound(/* lifetime decl */ DefId),
-    LateBound(ty::DebruijnIndex, /* late-bound index */ u32, /* lifetime decl */ DefId),
+    EarlyBound(/* decl */ DefId),
+    LateBound(ty::DebruijnIndex, /* late-bound index */ u32, /* decl */ DefId),
     Free(DefId, /* lifetime decl */ DefId),
 }