1
Fork 0

include host_effect_index in Generics

This commit is contained in:
Deadbeef 2023-07-04 13:49:08 +00:00
parent 30b21b758a
commit 58c105af04
5 changed files with 34 additions and 21 deletions

View file

@ -133,6 +133,9 @@ pub struct Generics {
pub has_self: bool,
pub has_late_bound_regions: Option<Span>,
// The index of the host effect when substituted. (i.e. might be index to parent substs)
pub host_effect_index: Option<usize>,
}
impl<'tcx> Generics {