Skip to content

Commit 122c9a9

Browse files
committed
---
yaml --- r: 185001 b: refs/heads/snap-stage3 c: 839a9de h: refs/heads/master i: 184999: aeb3f1a v: v3
1 parent fbacf8b commit 122c9a9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: f0f7ca27de6b4e03f30012656dad270cda55a363
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: a962d47ef8a93ad125571a5628a883d0b50a97e7
4+
refs/heads/snap-stage3: 839a9de8d385a082b571a88ff5a7f0c620afed1c
55
refs/heads/try: ccf8fedf1cffcb8f6f3581d53d220039e192fe77
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/librustc/middle/traits/select.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,6 +1273,10 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
12731273
// #18453.
12741274
true
12751275
}
1276+
(&DefaultTraitCandidate(_), _) => {
1277+
// Prefer other candidates over default implementations.
1278+
true
1279+
}
12761280
(&ProjectionCandidate, &ParamCandidate(_)) => {
12771281
// FIXME(#20297) -- this gives where clauses precedent
12781282
// over projections. Really these are just two means

0 commit comments

Comments
 (0)