1 error[E0401]: can't use generic parameters from outer function
2 --> $DIR/issue-65025-extern-static-parent-generics.rs:3:28
4 LL | unsafe fn foo<A>() {
5 | - type parameter from outer function
7 LL | static baz: *const A;
8 | ^ use of generic parameter from outer function
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0401`.