]> git.proxmox.com Git - rustc.git/blame - src/test/ui/allocator/two-allocators.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / allocator / two-allocators.stderr
CommitLineData
416331ca 1error: cannot define multiple global allocators
0731742a 2 --> $DIR/two-allocators.rs:6:1
b7449926 3 |
416331ca 4LL | static A: System = System;
74b04a01 5 | -------------------------- previous global allocator defined here
60c5eb7d
XL
6LL | #[global_allocator]
7LL | static B: System = System;
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot define a new global allocator
74b04a01 9 |
17df50a5 10 = note: this error originates in the attribute macro `global_allocator` (in Nightly builds, run with -Z macro-backtrace for more info)
b7449926
XL
11
12error: aborting due to previous error
13