rust/tests/ui/allocator/two-allocators.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
558 B
Plaintext
Raw Normal View History

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