mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
12 lines
196 B
Rust
12 lines
196 B
Rust
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() {}
|