diff options
Diffstat (limited to 'src/test/ui/allocator/function-allocator.stderr')
-rw-r--r-- | src/test/ui/allocator/function-allocator.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/allocator/function-allocator.stderr b/src/test/ui/allocator/function-allocator.stderr new file mode 100644 index 000000000..5e47b0f0c --- /dev/null +++ b/src/test/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 + |