File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed 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