about summary refs log tree commit diff
path: root/src/test/ui/allocator/two-allocators.stderr
blob: 35d9f0f42f00164fcbdd7f30fd4bcb5f6425687d (plain)
1
2
3
4
5
6
7
8
9
10
11
error: cannot define multiple global allocators
  --> $DIR/two-allocators.rs:6:1
   |
LL | static A: System = System;
   | -------------------------- previous global allocator is defined here
LL | #[global_allocator]
LL | static B: System = System;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot define a new global allocator

error: aborting due to previous error