Skip to content

Commit 126732e

Browse files
author
Ariel Ben-Yehuda
committed
---
yaml --- r: 232504 b: refs/heads/try c: 13809ff h: refs/heads/master v: v3
1 parent 8bc3d62 commit 126732e

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
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: edeb4f1c86cbf6af8ef9874d4b3af50f721ea1b8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: 8aeaaac6545565345f4df7d24d6421f93f28d698
4+
refs/heads/try: 13809ffff7022a24b33d93f63a2cbdb6ecd20805
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/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)