1 error[E0401]: can't use generic parameters from outer function
2 --> $DIR/issue-12796.rs:3:22
4 LL | fn inner(_: &Self) {
7 | use of generic parameter from outer function
8 | can't use `Self` here
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0401`.