]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-3021-c.rs
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-3021-c.rs
1 fn siphash<T>() {
2
3     trait U {
4         fn g(&self, x: T) -> T;  //~ ERROR can't use type parameters from outer function
5         //~^ ERROR can't use type parameters from outer function
6     }
7 }
8
9 fn main() {}