update tests/ui

This commit is contained in:
ickk 2023-04-07 18:07:11 +10:00
parent 726598ed9a
commit 30f458ed1e
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ error[E0282]: type annotations needed for `Foo<N>`
LL | let foo = Foo::foo();
| ^^^
|
help: consider giving `foo` an explicit type, where the the value of const parameter `N` is specified
help: consider giving `foo` an explicit type, where the value of const parameter `N` is specified
|
LL | let foo: Foo<N> = Foo::foo();
| ++++++++

View File

@ -4,7 +4,7 @@ error[E0282]: type annotations needed for `[usize; N]`
LL | let _ = foo("foo");
| ^
|
help: consider giving this pattern a type, where the the value of const parameter `N` is specified
help: consider giving this pattern a type, where the value of const parameter `N` is specified
|
LL | let _: [usize; N] = foo("foo");
| ++++++++++++

View File

@ -4,7 +4,7 @@ error[E0282]: type annotations needed for `SmallCString<N>`
LL | SmallCString::try_from(p).map(|cstr| cstr);
| ^^^^
|
help: consider giving this closure parameter an explicit type, where the the value of const parameter `N` is specified
help: consider giving this closure parameter an explicit type, where the value of const parameter `N` is specified
|
LL | SmallCString::try_from(p).map(|cstr: SmallCString<N>| cstr);
| +++++++++++++++++