1
Fork 0

Make DeeplyNormalize a real type op

This commit is contained in:
Michael Goulet 2025-01-25 21:27:06 +00:00
parent 8c61cd4df8
commit a02a982ffc
4 changed files with 70 additions and 37 deletions

View file

@ -41,11 +41,18 @@ pub mod type_op {
pub predicate: Predicate<'tcx>,
}
/// Normalizes, but not in the new solver.
#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq, HashStable, TypeFoldable, TypeVisitable)]
pub struct Normalize<T> {
pub value: T,
}
/// Normalizes, and deeply normalizes in the new solver.
#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq, HashStable, TypeFoldable, TypeVisitable)]
pub struct DeeplyNormalize<T> {
pub value: T,
}
#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq, HashStable, TypeFoldable, TypeVisitable)]
pub struct ImpliedOutlivesBounds<'tcx> {
pub ty: Ty<'tcx>,