rust/tests/ui/issues/issue-22874.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
153 B
Rust
Raw Normal View History

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