2020-09-02 07:40:56 +00:00
|
|
|
error[E0277]: the size for values of type `[String]` cannot be known at compilation time
|
2020-07-10 22:13:49 +00:00
|
|
|
--> $DIR/issue-22874.rs:2:11
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
|
|
|
LL | rows: [[String]],
|
2020-07-10 22:13:49 +00:00
|
|
|
| ^^^^^^^^^^ doesn't have a size known at compile-time
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
2020-09-02 07:40:56 +00:00
|
|
|
= help: the trait `Sized` is not implemented for `[String]`
|
2018-07-15 21:11:54 +00:00
|
|
|
= note: slice and array elements must have `Sized` type
|
|
|
|
|
2024-02-09 12:17:55 +00:00
|
|
|
error[E0277]: the size for values of type `[String]` cannot be known at compilation time
|
|
|
|
--> $DIR/issue-22874.rs:7:6
|
|
|
|
|
|
|
|
|
LL | &table.rows[0]
|
|
|
|
| ^^^^^^^^^^ doesn't have a size known at compile-time
|
|
|
|
|
|
|
|
|
= help: the trait `Sized` is not implemented for `[String]`, which is required by `[_]: Index<_>`
|
|
|
|
= note: required for `[[String]]` to implement `Index<_>`
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|