blob: bd21d1244235d9ded8db8aafd5a881851295ea63 (
plain)
1
2
3
4
5
6
7
8
9
|
fn siphash<T>() {
trait U {
fn g(&self, x: T) -> T; //~ ERROR can't use generic parameters from outer item
//~^ ERROR can't use generic parameters from outer item
}
}
fn main() {}
|