File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ infer_source_kind_subdiag_let = {$kind ->
30
30
} { $x_kind ->
31
31
[ has_name ] , where the { $prefix_kind ->
32
32
*[ type ] type for { $prefix }
33
- [ const_with_param ] the value of const parameter
34
- [ const ] the value of the constant
33
+ [ const_with_param ] value of const parameter
34
+ [ const ] value of the constant
35
35
} `{ $arg_name } ` is specified
36
36
[ underscore ] , where the placeholders `_` are specified
37
37
*[ empty ] { " " }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ error[E0282]: type annotations needed for `Foo<N>`
4
4
LL | let foo = Foo::foo();
5
5
| ^^^
6
6
|
7
- help: consider giving `foo` an explicit type, where the the value of const parameter `N` is specified
7
+ help: consider giving `foo` an explicit type, where the value of const parameter `N` is specified
8
8
|
9
9
LL | let foo: Foo<N> = Foo::foo();
10
10
| ++++++++
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ error[E0282]: type annotations needed for `[usize; N]`
4
4
LL | let _ = foo("foo");
5
5
| ^
6
6
|
7
- help: consider giving this pattern a type, where the the value of const parameter `N` is specified
7
+ help: consider giving this pattern a type, where the value of const parameter `N` is specified
8
8
|
9
9
LL | let _: [usize; N] = foo("foo");
10
10
| ++++++++++++
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ error[E0282]: type annotations needed for `SmallCString<N>`
4
4
LL | SmallCString::try_from(p).map(|cstr| cstr);
5
5
| ^^^^
6
6
|
7
- help: consider giving this closure parameter an explicit type, where the the value of const parameter `N` is specified
7
+ help: consider giving this closure parameter an explicit type, where the value of const parameter `N` is specified
8
8
|
9
9
LL | SmallCString::try_from(p).map(|cstr: SmallCString<N>| cstr);
10
10
| +++++++++++++++++
You can’t perform that action at this time.
0 commit comments