blob: eccb315feb1e2e126701dc1ef48344a60e6f6fc5 [file] [log] [blame]
struct A;
impl A {
//~^ NOTE `Self` type implicitly declared here, by this `impl`
fn banana(&mut self) {
fn peach(this: &Self) {
//~^ ERROR can't use generic parameters from outer function
//~| NOTE use of generic parameter from outer function
//~| NOTE use a type here instead
}
}
}
fn main() {}