blob: 35d9f0f42f00164fcbdd7f30fd4bcb5f6425687d [file] [log] [blame]
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