summaryrefslogtreecommitdiffstats
path: root/tests/ui/allocator/function-allocator.stderr
blob: 5e47b0f0cc7ac4e14c73c87b2b53bad9e684a465 (plain)
1
2
3
4
5
6
7
8
error: allocators must be statics
  --> $DIR/function-allocator.rs:2:1
   |
LL | fn foo() {}
   | ^^^^^^^^^^^

error: aborting due to previous error