mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +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() {}
|