We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ExistentialPredicate::Projection
1 parent 2c69266 commit fd22e87Copy full SHA for fd22e87
compiler/rustc_middle/src/ty/flags.rs
@@ -160,9 +160,7 @@ impl FlagComputation {
160
match predicate {
161
ty::ExistentialPredicate::Trait(tr) => computation.add_substs(tr.substs),
162
ty::ExistentialPredicate::Projection(p) => {
163
- let mut proj_computation = FlagComputation::new();
164
- proj_computation.add_existential_projection(&p);
165
- self.add_bound_computation(proj_computation);
+ computation.add_existential_projection(&p);
166
}
167
ty::ExistentialPredicate::AutoTrait(_) => {}
168
0 commit comments