1 error[E0401]: can't use type parameters from outer function; try using a local type parameter instead
2 --> $DIR/E0401.rs:12:15
4 12 | fn bar(y: T) { //~ ERROR E0401
5 | ^ use of type variable from outer function
7 error: aborting due to previous error