File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 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 ->
3030} { $x_kind ->
3131 [ has_name ] , where the { $prefix_kind ->
3232 *[ 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
3535 } `{ $arg_name } ` is specified
3636 [ underscore ] , where the placeholders `_` are specified
3737 *[ empty ] { " " }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ error[E0282]: type annotations needed for `Foo<N>`
44LL | let foo = Foo::foo();
55 | ^^^
66 |
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
88 |
99LL | let foo: Foo<N> = Foo::foo();
1010 | ++++++++
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ error[E0282]: type annotations needed for `[usize; N]`
44LL | let _ = foo("foo");
55 | ^
66 |
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
88 |
99LL | let _: [usize; N] = foo("foo");
1010 | ++++++++++++
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ error[E0282]: type annotations needed for `SmallCString<N>`
44LL | SmallCString::try_from(p).map(|cstr| cstr);
55 | ^^^^
66 |
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
88 |
99LL | SmallCString::try_from(p).map(|cstr: SmallCString<N>| cstr);
1010 | +++++++++++++++++
You can’t perform that action at this time.
0 commit comments