diff options
Diffstat (limited to 'tests/ui/allocator/function-allocator.stderr')
| -rw-r--r-- | tests/ui/allocator/function-allocator.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/allocator/function-allocator.stderr b/tests/ui/allocator/function-allocator.stderr new file mode 100644 index 00000000000..5e47b0f0cc7 --- /dev/null +++ b/tests/ui/allocator/function-allocator.stderr @@ -0,0 +1,8 @@ +error: allocators must be statics + --> $DIR/function-allocator.rs:2:1 + | +LL | fn foo() {} + | ^^^^^^^^^^^ + +error: aborting due to previous error + |
