Skip to content

Commit 860c7e4

Browse files
committed
missing test change, bad suggestion
1 parent cc1ab3d commit 860c7e4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/ui/issues/issue-54954.stderr

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ error[E0283]: type annotations needed
88
--> $DIR/issue-54954.rs:3:24
99
|
1010
LL | const ARR_LEN: usize = Tt::const_val::<[i8; 123]>();
11-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
11+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
12+
| |
13+
| cannot infer type
14+
| help: consider specifying the type argument in the function call: `Tt::const_val::<[i8; 123]>::<T>`
1215
...
1316
LL | const fn const_val<T: Sized>() -> usize {
1417
| --------- - required by this bound in `Tt::const_val`

0 commit comments

Comments
 (0)