Skip to content

Commit d1674cb

Browse files
oops
1 parent 44fcd46 commit d1674cb

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

tests/ui/nll/closure-requirements/propagate-approximated-fail-no-postdom.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Test that we can propagate multiple region errors for closure constraints
22
// where the longer region has multiple non-local lower bounds without any postdominating one.
3+
//@ compile-flags:-Zverbose-internals
34

45
#![feature(rustc_attrs)]
56

tests/ui/nll/closure-requirements/propagate-approximated-fail-no-postdom.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
note: external requirements
2-
--> $DIR/propagate-approximated-fail-no-postdom.rs:44:9
2+
--> $DIR/propagate-approximated-fail-no-postdom.rs:43:9
33
|
44
LL | |_outlives1, _outlives2, _outlives3, x, y| {
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -19,15 +19,15 @@ LL | |_outlives1, _outlives2, _outlives3, x, y| {
1919
= note: where '?1: '?3
2020

2121
note: no external requirements
22-
--> $DIR/propagate-approximated-fail-no-postdom.rs:37:1
22+
--> $DIR/propagate-approximated-fail-no-postdom.rs:36:1
2323
|
2424
LL | fn supply<'a, 'b, 'c>(cell_a: Cell<&'a u32>, cell_b: Cell<&'b u32>, cell_c: Cell<&'c u32>) {
2525
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2626
|
2727
= note: defining type: supply
2828

2929
error: lifetime may not live long enough
30-
--> $DIR/propagate-approximated-fail-no-postdom.rs:40:5
30+
--> $DIR/propagate-approximated-fail-no-postdom.rs:39:5
3131
|
3232
LL | fn supply<'a, 'b, 'c>(cell_a: Cell<&'a u32>, cell_b: Cell<&'b u32>, cell_c: Cell<&'c u32>) {
3333
| -- -- lifetime `'c` defined here
@@ -49,7 +49,7 @@ LL | | );
4949
= help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
5050

5151
error: lifetime may not live long enough
52-
--> $DIR/propagate-approximated-fail-no-postdom.rs:40:5
52+
--> $DIR/propagate-approximated-fail-no-postdom.rs:39:5
5353
|
5454
LL | fn supply<'a, 'b, 'c>(cell_a: Cell<&'a u32>, cell_b: Cell<&'b u32>, cell_c: Cell<&'c u32>) {
5555
| -- -- lifetime `'c` defined here

0 commit comments

Comments
 (0)