Skip to content

Commit 972911c

Browse files
committed
---
yaml --- r: 232391 b: refs/heads/try c: fda9b83 h: refs/heads/master i: 232389: ee361b7 232387: 101ddcc 232383: 3ef442d v: v3
1 parent b48431b commit 972911c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
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: 213326cddd0fa470c347992f5b66e776a85864a7
4+
refs/heads/try: fda9b8396057426e86409fd75c69d896b05c372e
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_typeck/check/regionck.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1549,10 +1549,13 @@ fn components_must_outlive<'a, 'tcx>(rcx: &Rcx<'a, 'tcx>,
15491549
outlives::Component::EscapingProjection(subcomponents) => {
15501550
components_must_outlive(rcx, origin, subcomponents, region);
15511551
}
1552-
outlives::Component::UnresolvedInferenceVariable(_) => {
1552+
outlives::Component::UnresolvedInferenceVariable(v) => {
15531553
// ignore this, we presume it will yield an error
15541554
// later, since if a type variable is not resolved by
15551555
// this point it never will be
1556+
rcx.tcx().sess.delay_span_bug(
1557+
origin.span(),
1558+
&format!("unresolved inference variable in outlives: {:?}", v));
15561559
}
15571560
outlives::Component::RFC1214(subcomponents) => {
15581561
let suborigin = infer::RFC1214Subregion(Rc::new(origin));

0 commit comments

Comments
 (0)