File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
compiler/rustc_error_messages/locales/en-US Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ borrowck_higher_ranked_lifetime_error =
66 higher-ranked lifetime error
77
88borrowck_could_not_prove =
9- could not prove `{ $predicate } `
9+ could not prove `where { $predicate } `
1010
1111borrowck_could_not_normalize =
1212 could not normalize `{ $value } `
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ error: higher-ranked lifetime error
44LL | v.t(|| {});
55 | ^^^^^^^^^^
66 |
7- = note: could not prove `[closure@$DIR/issue-59311.rs:17:9: 17:11] well-formed`
7+ = note: could not prove `where [closure@$DIR/issue-59311.rs:17:9: 17:11] well-formed`
88
99error: higher-ranked lifetime error
1010 --> $DIR/issue-59311.rs:17:9
1111 |
1212LL | v.t(|| {});
1313 | ^^^^^
1414 |
15- = note: could not prove `for<'a> &'a V: 'static`
15+ = note: could not prove `where for<'a> &'a V: 'static`
1616
1717error: aborting due to 2 previous errors
1818
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ error: higher-ranked lifetime error
44LL | foo(&10);
55 | ^^^^^^^^
66 |
7- = note: could not prove `for<'b> &'b (): 'a`
7+ = note: could not prove `where for<'b> &'b (): 'a`
88
99error: aborting due to previous error
1010
You can’t perform that action at this time.
0 commit comments