Skip to content

Commit 64e7067

Browse files
committed
Add FIXME for using ty::Region.
1 parent 830f221 commit 64e7067

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_typeck/src/collect/object_lifetime_defaults.rs

+1
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ enum Scope<'a> {
189189
/// inferred in a function body or potentially error outside one),
190190
/// for the default choice of lifetime in a trait object type.
191191
ObjectLifetimeDefault {
192+
//FIXME(cjgillot) This should use a `ty::Region`.
192193
lifetime: Option<Region>,
193194
s: ScopeRef<'a>,
194195
},

0 commit comments

Comments
 (0)