2019-07-18 16:24:58 -05:00
|
|
|
error: cannot define multiple global allocators
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/two-allocators.rs:6:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-07-18 16:24:58 -05:00
|
|
|
LL | static A: System = System;
|
2020-01-21 19:41:44 -06:00
|
|
|
| -------------------------- previous global allocator defined here
|
2019-11-25 14:27:50 -06:00
|
|
|
LL | #[global_allocator]
|
2021-07-17 13:13:50 -05:00
|
|
|
| ------------------- in this procedural macro expansion
|
2019-11-25 14:27:50 -06:00
|
|
|
LL | static B: System = System;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot define a new global allocator
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the attribute macro `global_allocator` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|