move Constness into TraitPredicate
This commit is contained in:
parent
04c9901a08
commit
32390a0df6
49 changed files with 157 additions and 124 deletions
|
@ -122,7 +122,7 @@ where
|
|||
|
||||
fn visit_predicate(&mut self, predicate: ty::Predicate<'tcx>) -> ControlFlow<V::BreakTy> {
|
||||
match predicate.kind().skip_binder() {
|
||||
ty::PredicateKind::Trait(ty::TraitPredicate { trait_ref }, _) => {
|
||||
ty::PredicateKind::Trait(ty::TraitPredicate { trait_ref, constness: _ }) => {
|
||||
self.visit_trait(trait_ref)
|
||||
}
|
||||
ty::PredicateKind::Projection(ty::ProjectionPredicate { projection_ty, ty }) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue