Skip to content

Commit 3b8d097

Browse files
committed
---
yaml --- r: 194565 b: refs/heads/snap-stage3 c: 703308d h: refs/heads/master i: 194563: e0fee92 v: v3
1 parent c9994cf commit 3b8d097

File tree

4 files changed

+214
-129
lines changed

4 files changed

+214
-129
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: 242ed0b7c0f6a21096f2cc3e1ad1bdb176d02545
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: c59fe8bde2be55c46f627277e2cc37515fb7165e
4+
refs/heads/snap-stage3: 703308db4a130191db4000dfbbfc92936c604b52
55
refs/heads/try: 961e0358e1a5c0faaef606e31e9965742c1643bf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ impl<'tcx> FulfillmentContext<'tcx> {
164164
// debug output much nicer to read and so on.
165165
let obligation = infcx.resolve_type_vars_if_possible(&obligation);
166166

167+
assert!(!obligation.has_escaping_regions());
168+
167169
if !self.duplicate_set.insert(obligation.predicate.clone()) {
168170
debug!("register_predicate({}) -- already seen, skip", obligation.repr(infcx.tcx));
169171
return;

0 commit comments

Comments
 (0)