Fail gracefully when encountering an HRTB in APIT.

This commit is contained in:
Camille GILLOT 2022-05-27 11:02:11 +02:00
parent 7e9b92cb43
commit bacd8adeda
4 changed files with 87 additions and 8 deletions

View file

@ -734,7 +734,7 @@ impl<'hir> WherePredicate<'hir> {
}
}
#[derive(Debug, HashStable_Generic, PartialEq, Eq)]
#[derive(Copy, Clone, Debug, HashStable_Generic, PartialEq, Eq)]
pub enum PredicateOrigin {
WhereClause,
GenericParam,