blob: 11917e0a7b25b63d74db3d6d3523994eb98ee500 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
extern mod std;
fn siphash<T>() {
trait t {
fn g(x: T) -> T; //~ ERROR attempt to use a type argument out of scope
//~^ ERROR attempt to use a type argument out of scope
//~^^ ERROR use of undeclared type name `T`
//~^^^ ERROR use of undeclared type name `T`
}
}
fn main() {}
|