about summary refs log tree commit diff
path: root/tests/ui/allocator/two-allocators3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/allocator/two-allocators3.rs')
-rw-r--r--tests/ui/allocator/two-allocators3.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/allocator/two-allocators3.rs b/tests/ui/allocator/two-allocators3.rs
index 0cb3879666d..3aba96068de 100644
--- a/tests/ui/allocator/two-allocators3.rs
+++ b/tests/ui/allocator/two-allocators3.rs
@@ -1,10 +1,10 @@
 //@ aux-build:system-allocator.rs
 //@ aux-build:system-allocator2.rs
 //@ no-prefer-dynamic
-//@ error-pattern: the `#[global_allocator]` in
-
 
 extern crate system_allocator;
 extern crate system_allocator2;
 
 fn main() {}
+
+//~? ERROR the `#[global_allocator]` in system_allocator conflicts with global allocator in: system_allocator2