-error[E0401]: can't use type parameters from outer function
+error[E0401]: can't use generic parameters from outer function
--> $DIR/use-self-in-inner-fn.rs:6:25
|
LL | impl A {
LL | fn peach(this: &Self) {
| ^^^^
| |
- | use of type variable from outer function
+ | use of generic parameter from outer function
| use a type here instead
error: aborting due to previous error