about summary refs log tree commit diff
path: root/src/test/ui/allocator/function-allocator.stderr
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2018-08-19 18:34:46 +0200
committerGitHub <noreply@github.com>2018-08-19 18:34:46 +0200
commit08b1d83a46848dd7bd778aeae67a1e529e95d8cd (patch)
tree9153a34f91860b175afb24f904fd50ac09e77c4e /src/test/ui/allocator/function-allocator.stderr
parentac64ef33756d05557153e00211cdf8fcf65d4be3 (diff)
parentb355906919927ab3c879becd14392f023af883a1 (diff)
downloadrust-08b1d83a46848dd7bd778aeae67a1e529e95d8cd.tar.gz
rust-08b1d83a46848dd7bd778aeae67a1e529e95d8cd.zip
Merge branch 'master' into feature/core_convert_id
Diffstat (limited to 'src/test/ui/allocator/function-allocator.stderr')
-rw-r--r--src/test/ui/allocator/function-allocator.stderr8
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 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
+