]>
Commit | Line | Data |
---|---|---|
416331ca | 1 | error: cannot define multiple global allocators |
0731742a | 2 | --> $DIR/two-allocators.rs:6:1 |
b7449926 | 3 | | |
416331ca | 4 | LL | static A: System = System; |
74b04a01 | 5 | | -------------------------- previous global allocator defined here |
60c5eb7d | 6 | LL | #[global_allocator] |
136023e0 | 7 | | ------------------- in this procedural macro expansion |
60c5eb7d XL |
8 | LL | static B: System = System; |
9 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot define a new global allocator | |
74b04a01 | 10 | | |
17df50a5 | 11 | = note: this error originates in the attribute macro `global_allocator` (in Nightly builds, run with -Z macro-backtrace for more info) |
b7449926 XL |
12 | |
13 | error: aborting due to previous error | |
14 |