about summary refs log tree commit diff
path: root/src/test/ui/allocator/function-allocator.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/allocator/function-allocator.stderr')
-rw-r--r--src/test/ui/allocator/function-allocator.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/allocator/function-allocator.stderr b/src/test/ui/allocator/function-allocator.stderr
index 8649b6b1244..ecb6e4d4ecd 100644
--- a/src/test/ui/allocator/function-allocator.stderr
+++ b/src/test/ui/allocator/function-allocator.stderr
@@ -1,5 +1,5 @@
 error: allocators must be statics
-  --> $DIR/function-allocator.rs:13:1
+  --> $DIR/function-allocator.rs:2:1
    |
 LL | fn foo() {} //~ ERROR: allocators must be statics
    | ^^^^^^^^^^^