diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-05-27 11:02:11 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2022-06-24 17:59:19 +0200 |
| commit | b1d53a42dc2517ec873c97752bc23c9ae88c9390 (patch) | |
| tree | ba474af3881b0b38cc45184999fddfbfdaed3ba4 /compiler/rustc_hir/src/hir.rs | |
| parent | 1bc802e990a3393731b19b30f7fad1794b478df0 (diff) | |
| download | rust-b1d53a42dc2517ec873c97752bc23c9ae88c9390.tar.gz rust-b1d53a42dc2517ec873c97752bc23c9ae88c9390.zip | |
Fail gracefully when encountering an HRTB in APIT.
Diffstat (limited to 'compiler/rustc_hir/src/hir.rs')
| -rw-r--r-- | compiler/rustc_hir/src/hir.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir/src/hir.rs b/compiler/rustc_hir/src/hir.rs index 4d4d4a28499..dc88d866988 100644 --- a/compiler/rustc_hir/src/hir.rs +++ b/compiler/rustc_hir/src/hir.rs @@ -721,7 +721,7 @@ impl<'hir> WherePredicate<'hir> { } } -#[derive(Debug, HashStable_Generic, PartialEq, Eq)] +#[derive(Copy, Clone, Debug, HashStable_Generic, PartialEq, Eq)] pub enum PredicateOrigin { WhereClause, GenericParam, |
