14 lines
186 B
Rust
14 lines
186 B
Rust
// xfail-stage0
|
|
// xfail-stage1
|
|
// xfail-stage2
|
|
// -*- rust -*-
|
|
|
|
// error-pattern: name
|
|
|
|
mod foo {
|
|
fn bar[T](T f) -> int { ret 17; }
|
|
type bar[U, T] = tup(int, U, T);
|
|
}
|
|
|
|
fn main() {}
|