rust/tests/ui/higher-rank-trait-bounds/issue-59311.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
414 B
Plaintext
Raw Normal View History

error: higher-ranked lifetime error
2022-04-01 12:13:25 -05:00
--> $DIR/issue-59311.rs:17:5
|
LL | v.t(|| {});
| ^^^^^^^^^^
|
2022-06-27 00:45:35 -05:00
= note: could not prove `[closure@$DIR/issue-59311.rs:17:9: 17:11] well-formed`
error: higher-ranked lifetime error
2022-04-01 12:13:25 -05:00
--> $DIR/issue-59311.rs:17:9
|
LL | v.t(|| {});
| ^^^^^
|
= note: could not prove `for<'a> &'a V: 'static`
error: aborting due to 2 previous errors