Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4dc7793

Browse files
committedDec 22, 2019
fix test with reordered output
1 parent 1d9c561 commit 4dc7793

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

‎src/test/ui/hrtb/hrtb-perfect-forwarding.nll.stderr‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@ LL | | }
4444
|
4545
= help: a `loop` may express intention better if this is on purpose
4646

47-
error: higher-ranked subtype error
48-
--> $DIR/hrtb-perfect-forwarding.rs:46:5
49-
|
50-
LL | foo_hrtb_bar_not(&mut t);
51-
| ^^^^^^^^^^^^^^^^^^^^^^^^
52-
5347
error: lifetime may not live long enough
5448
--> $DIR/hrtb-perfect-forwarding.rs:46:5
5549
|
@@ -61,6 +55,12 @@ LL | foo_hrtb_bar_not(&mut t);
6155
|
6256
= help: consider replacing `'b` with `'static`
6357

58+
error: higher-ranked subtype error
59+
--> $DIR/hrtb-perfect-forwarding.rs:46:5
60+
|
61+
LL | foo_hrtb_bar_not(&mut t);
62+
| ^^^^^^^^^^^^^^^^^^^^^^^^
63+
6464
warning: function cannot return without recursing
6565
--> $DIR/hrtb-perfect-forwarding.rs:49:1
6666
|

0 commit comments

Comments
 (0)
Please sign in to comment.