2021-11-07 15:38:33 -06:00
|
|
|
error[E0282]: type annotations needed
|
2022-02-14 06:25:26 -06:00
|
|
|
--> $DIR/issue-83249.rs:19:9
|
2021-10-18 11:25:45 -05:00
|
|
|
|
|
|
|
|
LL | let _ = foo([0; 1]);
|
2022-02-14 06:25:26 -06:00
|
|
|
| ^
|
2022-05-19 23:49:41 -05:00
|
|
|
|
|
2022-12-13 13:36:43 -06:00
|
|
|
help: consider giving this pattern a type
|
2022-05-19 23:49:41 -05:00
|
|
|
|
|
2022-12-13 13:36:43 -06:00
|
|
|
LL | let _: /* Type */ = foo([0; 1]);
|
|
|
|
| ++++++++++++
|
2021-10-18 11:25:45 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2021-11-07 15:38:33 -06:00
|
|
|
For more information about this error, try `rustc --explain E0282`.
|