diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2023-07-04 13:49:08 +0000 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2023-07-04 17:21:52 +0000 |
| commit | 58c105af04073885703093149c01b0c20d593d6b (patch) | |
| tree | 48b276d24f8839ccd95c6cdf49346641da646480 /compiler/rustc_middle/src/ty/generics.rs | |
| parent | 30b21b758a57da86509bb1ebf7a2fe57a98110fa (diff) | |
| download | rust-58c105af04073885703093149c01b0c20d593d6b.tar.gz rust-58c105af04073885703093149c01b0c20d593d6b.zip | |
include `host_effect_index` in `Generics`
Diffstat (limited to 'compiler/rustc_middle/src/ty/generics.rs')
| -rw-r--r-- | compiler/rustc_middle/src/ty/generics.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/ty/generics.rs b/compiler/rustc_middle/src/ty/generics.rs index 58fd6e1aa27..ea82e0070b1 100644 --- a/compiler/rustc_middle/src/ty/generics.rs +++ b/compiler/rustc_middle/src/ty/generics.rs @@ -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 { |
