about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/auto_trait.rs
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2023-12-07 17:52:51 +0100
committerlcnr <rust@lcnr.de>2023-12-07 17:52:51 +0100
commit3978f545ba25888066abcd1770514294cff42c9f (patch)
tree200d61fb4e23b7e77d760688c723687d470d9ce0 /compiler/rustc_trait_selection/src/traits/auto_trait.rs
parent40aa9f4fd914cbbe043da1d5ffdecae287354dce (diff)
downloadrust-3978f545ba25888066abcd1770514294cff42c9f.tar.gz
rust-3978f545ba25888066abcd1770514294cff42c9f.zip
add unused `NormalizesTo` predicate
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits/auto_trait.rs')
-rw-r--r--compiler/rustc_trait_selection/src/traits/auto_trait.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/auto_trait.rs b/compiler/rustc_trait_selection/src/traits/auto_trait.rs
index d8bf97138cd..0b8e6e2ef8b 100644
--- a/compiler/rustc_trait_selection/src/traits/auto_trait.rs
+++ b/compiler/rustc_trait_selection/src/traits/auto_trait.rs
@@ -820,6 +820,7 @@ impl<'tcx> AutoTraitFinder<'tcx> {
                 // the `ParamEnv`.
                 ty::PredicateKind::Clause(ty::ClauseKind::WellFormed(..))
                 | ty::PredicateKind::Clause(ty::ClauseKind::ConstArgHasType(..))
+                | ty::PredicateKind::NormalizesTo(..)
                 | ty::PredicateKind::AliasRelate(..)
                 | ty::PredicateKind::ObjectSafe(..)
                 | ty::PredicateKind::Subtype(..)