1 error: function pointer calls are not allowed in statics
2 --> $DIR/const-fn-ptr.rs:5:19
4 LL | static STAT: () = make_fn_ptr()();
7 error: function pointer calls are not allowed in constants
8 --> $DIR/const-fn-ptr.rs:8:19
10 LL | const CONST: () = make_fn_ptr()();
13 error: function pointer calls are not allowed in constant functions
14 --> $DIR/const-fn-ptr.rs:12:5
19 error: aborting due to 3 previous errors