Repository navigation
Conversation
This comment has been minimized.
This comment has been minimized.
e9822b0 to
4600dd1
Compare
This comment has been minimized.
This comment has been minimized.
4600dd1 to
e2963ed
Compare
This comment has been minimized.
This comment has been minimized.
e2963ed to
15cc52f
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
15cc52f to
26818c0
Compare
This comment has been minimized.
This comment has been minimized.
26818c0 to
8a1ca0e
Compare
This comment has been minimized.
This comment has been minimized.
8a1ca0e to
26b0846
Compare
| /// Returns the type of the discriminant of this type. | ||
| pub fn discriminant_ty(self, tcx: TyCtxt<'tcx>) -> Ty<'tcx> { | ||
| match self.kind() { | ||
| // It is somewhat guaranteed that view types |
There was a problem hiding this comment.
|
☔ The latest upstream changes (presumably #159836) made this pull request unmergeable. Please resolve the merge conflicts by rebasing. |
|
discussed privately with @oli-obk : we want to model the set of viewed fields as a type. something like: enum TyKind {
View(AdtDef, GenericArgs, Ty),
}the |
|
superseded by #165565 |
TODO: