1 error[E0401]: can't use generic parameters from outer function
2 --> $DIR/issue-98432.rs:5:34
4 LL | impl<T> Struct<T> {
5 | - type parameter from outer function
6 LL | const CONST: fn() = || {
7 LL | struct _Obligation where T:;
8 | - ^ use of generic parameter from outer function
10 | help: try using a local generic parameter instead: `<T>`
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0401`.