]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-22874.rs
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-22874.rs
1 struct Table {
2     rows: [[String]],
3     //~^ ERROR the size for values of type
4 }
5
6 fn f(table: &Table) -> &[String] {
7     &table.rows[0]
8 }
9
10 fn main() {}