about summary refs log tree commit diff
path: root/tests/ui/issues/issue-22874.stderr
blob: 7d5b601ed494f884bf0a0b547c48ccf475b00752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0277]: the size for values of type `[String]` cannot be known at compilation time
  --> $DIR/issue-22874.rs:2:11
   |
LL |     rows: [[String]],
   |           ^^^^^^^^^^ doesn't have a size known at compile-time
   |
   = help: the trait `Sized` is not implemented for `[String]`
   = note: slice and array elements must have `Sized` type

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]`
   = note: required for `[[String]]` to implement `Index<_>`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0277`.