]> git.proxmox.com Git - rustc.git/blob - src/test/ui/allocator/two-allocators.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / allocator / two-allocators.stderr
1 error: cannot define multiple global allocators
2 --> $DIR/two-allocators.rs:6:1
3 |
4 LL | static A: System = System;
5 | -------------------------- previous global allocator is defined here
6 LL | #[global_allocator]
7 LL | static B: System = System;
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot define a new global allocator
9
10 error: aborting due to previous error
11