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