Implement negative bounds
This commit is contained in:
@@ -528,6 +528,7 @@ pub fn hir_trait_to_predicates<'tcx>(
|
||||
hir_trait,
|
||||
DUMMY_SP,
|
||||
ty::BoundConstness::NotConst,
|
||||
ty::ImplPolarity::Positive,
|
||||
self_ty,
|
||||
&mut bounds,
|
||||
true,
|
||||
|
||||
Reference in New Issue
Block a user