Skip to content

Commit 0edc41c

Browse files
committed
---
yaml --- r: 195158 b: refs/heads/tmp c: 703308d h: refs/heads/master v: v3
1 parent 7f9c30e commit 0edc41c

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
@@ -34,7 +34,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: d8be84eb4499e21bd98a3500c8760540996df23b
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37-
refs/heads/tmp: c59fe8bde2be55c46f627277e2cc37515fb7165e
37+
refs/heads/tmp: 703308db4a130191db4000dfbbfc92936c604b52
3838
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3939
refs/tags/homu-tmp: 53a183f0274316596bf9405944d4f0468d8c93e4
4040
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412

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