Skip to content

Commit 4a15157

Browse files
committed
safe transmute: don't mark user impls as unambiguous
ref: #92268 (comment)
1 parent c0d0ce9 commit 4a15157

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_trait_selection/src/traits/select/candidate_assembly.rs

-1
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,6 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
884884
candidates: &mut SelectionCandidateSet<'tcx>,
885885
) {
886886
if obligation.has_param_types_or_consts() {
887-
candidates.ambiguous = false;
888887
return;
889888
}
890889

0 commit comments

Comments
 (0)