1 error[E0401]: can't use generic parameters from outer function
2 --> $DIR/issue-3214.rs:3:12
5 | - type parameter from outer function
7 | - help: try using a local generic parameter instead: `<T>`
9 | ^ use of generic parameter from outer function
11 error[E0107]: this struct takes 0 generic arguments but 1 generic argument was supplied
12 --> $DIR/issue-3214.rs:6:22
14 LL | impl<T> Drop for Foo<T> {
15 | ^^^--- help: remove these generics
17 | expected 0 generic arguments
19 note: struct defined here, with 0 generic parameters
20 --> $DIR/issue-3214.rs:2:12
25 error: aborting due to 2 previous errors
27 Some errors have detailed explanations: E0107, E0401.
28 For more information about an error, try `rustc --explain E0107`.