1 error[E0401]: can't use type parameters from outer function
2 --> $DIR/issue-3214.rs:13:12
5 | --- - type variable from outer function
7 | try adding a local type parameter in this method instead
9 LL | x: T, //~ ERROR can't use type parameters from outer function
10 | ^ use of type variable from outer function
12 error[E0107]: wrong number of type arguments: expected 0, found 1
13 --> $DIR/issue-3214.rs:16:26
15 LL | impl<T> Drop for foo<T> {
16 | ^ unexpected type argument
18 error: aborting due to 2 previous errors
20 Some errors occurred: E0107, E0401.
21 For more information about an error, try `rustc --explain E0107`.