blob: 9a727aa3057977605d7521c8138e09464f65d2f2 [file] [log] [blame]
fn foo<T>() {
struct Foo {
x: T, //~ ERROR can't use generic parameters from outer function
}
impl<T> Drop for Foo<T> {
//~^ ERROR wrong number of type arguments
fn drop(&mut self) {}
}
}
fn main() { }