1error: allocators must be statics 2 --> $DIR/function-allocator.rs:2:1 3 | 4LL | fn foo() {} 5 | ^^^^^^^^^^^ 6 7error: aborting due to previous error 8 9