Skip to content

Commit 964cb94

Browse files
author
Ariel Ben-Yehuda
committed
---
yaml --- r: 233503 b: refs/heads/beta c: 13809ff h: refs/heads/master i: 233501: 7506051 233499: 02ce87f 233495: 1342750 233487: a91d1a1 233471: 1bfa0b2 v: v3
1 parent 99ca757 commit 964cb94

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: 8aeaaac6545565345f4df7d24d6421f93f28d698
26+
refs/heads/beta: 13809ffff7022a24b33d93f63a2cbdb6ecd20805
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 370fe2786109360f7c35b8ba552b83b773dd71d6
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/src/librustc/middle/ty.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3222,13 +3222,12 @@ impl<'tcx> TraitDef<'tcx> {
32223222
for &impl_def_id in impls {
32233223
f(impl_def_id);
32243224
}
3225-
return; // we don't need to process the other non-blanket impls
32263225
}
3227-
}
3228-
3229-
for v in self.nonblanket_impls.borrow().values() {
3230-
for &impl_def_id in v {
3231-
f(impl_def_id);
3226+
} else {
3227+
for v in self.nonblanket_impls.borrow().values() {
3228+
for &impl_def_id in v {
3229+
f(impl_def_id);
3230+
}
32323231
}
32333232
}
32343233
}

0 commit comments

Comments
 (0)