Fail gracefully when encountering an HRTB in APIT.
This commit is contained in:
parent
7e9b92cb43
commit
bacd8adeda
4 changed files with 87 additions and 8 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue