File tree 3 files changed +4
-4
lines changed
compiler/rustc_error_messages/locales/en-US
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 =
6
6
higher-ranked lifetime error
7
7
8
8
borrowck_could_not_prove =
9
- could not prove `{ $predicate } `
9
+ could not prove `where { $predicate } `
10
10
11
11
borrowck_could_not_normalize =
12
12
could not normalize `{ $value } `
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ error: higher-ranked lifetime error
4
4
LL | v.t(|| {});
5
5
| ^^^^^^^^^^
6
6
|
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`
8
8
9
9
error: higher-ranked lifetime error
10
10
--> $DIR/issue-59311.rs:17:9
11
11
|
12
12
LL | v.t(|| {});
13
13
| ^^^^^
14
14
|
15
- = note: could not prove `for<'a> &'a V: 'static`
15
+ = note: could not prove `where for<'a> &'a V: 'static`
16
16
17
17
error: aborting due to 2 previous errors
18
18
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ error: higher-ranked lifetime error
4
4
LL | foo(&10);
5
5
| ^^^^^^^^
6
6
|
7
- = note: could not prove `for<'b> &'b (): 'a`
7
+ = note: could not prove `where for<'b> &'b (): 'a`
8
8
9
9
error: aborting due to previous error
10
10
You can’t perform that action at this time.
0 commit comments