blob: 8ac81463be7e4b5a295f812627744283310ffdff [file]
//! Regression test for <https://github.com/rust-lang/rust/issues/22874>.
struct Table {
rows: [[String]],
//~^ ERROR the size for values of type
}
fn f(table: &Table) -> &[String] {
&table.rows[0]
//~^ ERROR the size for values of type
}
fn main() {}