rust/src/test/ui/issues/issue-22874.rs
2018-12-25 21:08:33 -07:00

11 lines
153 B
Rust

struct Table {
rows: [[String]],
//~^ ERROR the size for values of type
}
fn f(table: &Table) -> &[String] {
&table.rows[0]
}
fn main() {}