fc6b7c8b38
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
7 lines
142 B
Rust
7 lines
142 B
Rust
// error-pattern:Attempt to use a type argument out of scope
|
|
fn hd<U>(v: [U]) -> U {
|
|
fn hd1(w: [U]) -> U { ret w[0]; }
|
|
|
|
ret hd1(v);
|
|
}
|