]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_borrowck/src/type_check/canonical.rs
Rollup merge of #89876 - AlexApps99:const_ops, r=oli-obk
[rust.git] / compiler / rustc_borrowck / src / type_check / canonical.rs
index 7d4df59902aedbb759d4aecac35fde788168996d..0fa72ed8241bc61086a1c7cf0fd05cb07ffd6872 100644 (file)
@@ -94,6 +94,7 @@ pub(super) fn prove_trait_ref(
             Some(ty::Binder::dummy(ty::PredicateKind::Trait(ty::TraitPredicate {
                 trait_ref,
                 constness: ty::BoundConstness::NotConst,
+                polarity: ty::ImplPolarity::Positive,
             }))),
             locations,
             category,