Skip to content

Commit a53f513

Browse files
committed
---
yaml --- r: 194665 b: refs/heads/master c: 703308d h: refs/heads/master i: 194663: 47edbc5 v: v3
1 parent 12714de commit a53f513

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,5 +1,5 @@
11
---
2-
refs/heads/master: c59fe8bde2be55c46f627277e2cc37515fb7165e
2+
refs/heads/master: 703308db4a130191db4000dfbbfc92936c604b52
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 552080181c58beef03493a110b4a38b20b6b5da5
55
refs/heads/try: 961e0358e1a5c0faaef606e31e9965742c1643bf

trunk/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)