Skip to content

Commit 30f458e

Browse files
committed
update tests/ui
1 parent 726598e commit 30f458e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/ui/const-generics/defaults/doesnt_infer.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0282]: type annotations needed for `Foo<N>`
44
LL | 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
|
99
LL | let foo: Foo<N> = Foo::foo();
1010
| ++++++++

tests/ui/inference/issue-83606.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0282]: type annotations needed for `[usize; N]`
44
LL | 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
|
99
LL | let _: [usize; N] = foo("foo");
1010
| ++++++++++++

tests/ui/issues/issue-98299.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0282]: type annotations needed for `SmallCString<N>`
44
LL | 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
|
99
LL | SmallCString::try_from(p).map(|cstr: SmallCString<N>| cstr);
1010
| +++++++++++++++++

0 commit comments

Comments
 (0)