We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d9c561 commit 4dc7793Copy full SHA for 4dc7793
src/test/ui/hrtb/hrtb-perfect-forwarding.nll.stderr
@@ -44,12 +44,6 @@ LL | | }
44
|
45
= help: a `loop` may express intention better if this is on purpose
46
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
-
53
error: lifetime may not live long enough
54
--> $DIR/hrtb-perfect-forwarding.rs:46:5
55
@@ -61,6 +55,12 @@ LL | foo_hrtb_bar_not(&mut t);
61
62
56
= help: consider replacing `'b` with `'static`
63
57
58
+error: higher-ranked subtype error
59
+ --> $DIR/hrtb-perfect-forwarding.rs:46:5
60
+ |
+LL | foo_hrtb_bar_not(&mut t);
+ | ^^^^^^^^^^^^^^^^^^^^^^^^
+
64
warning: function cannot return without recursing
65
--> $DIR/hrtb-perfect-forwarding.rs:49:1
66
0 commit comments