From 3fc7ab237314a4ce85e612b4ce590c27f1425291 Mon Sep 17 00:00:00 2001 From: David Wood Date: Wed, 8 Aug 2018 14:50:16 +0200 Subject: Merged migrated compile-fail tests and ui tests. Fixes #46841. --- src/test/ui/allocator/function-allocator.stderr | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/test/ui/allocator/function-allocator.stderr (limited to 'src/test/ui/allocator/function-allocator.stderr') diff --git a/src/test/ui/allocator/function-allocator.stderr b/src/test/ui/allocator/function-allocator.stderr new file mode 100644 index 00000000000..8649b6b1244 --- /dev/null +++ b/src/test/ui/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 + -- cgit 1.4.1-3-g733a5