We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2101796 commit 6247365Copy full SHA for 6247365
compiler/rustc_trait_selection/src/solve/alias_relate.rs
@@ -33,7 +33,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
33
let Goal { param_env, predicate: (lhs, rhs, direction) } = goal;
34
35
if self.fast_reject_unnameable_rigid_term(param_env, lhs, rhs)
36
- && self.fast_reject_unnameable_rigid_term(param_env, rhs, lhs)
+ || self.fast_reject_unnameable_rigid_term(param_env, rhs, lhs)
37
{
38
return Err(NoSolution);
39
}
0 commit comments