Skip to content

Commit 6247365

Browse files
hsckashkdjajshdas
1 parent 2101796 commit 6247365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_trait_selection/src/solve/alias_relate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
3333
let Goal { param_env, predicate: (lhs, rhs, direction) } = goal;
3434

3535
if self.fast_reject_unnameable_rigid_term(param_env, lhs, rhs)
36-
&& self.fast_reject_unnameable_rigid_term(param_env, rhs, lhs)
36+
|| self.fast_reject_unnameable_rigid_term(param_env, rhs, lhs)
3737
{
3838
return Err(NoSolution);
3939
}

0 commit comments

Comments
 (0)