fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
478 B13 linesraw
1error: cannot define multiple global allocators
2  --> $DIR/two-allocators.rs:6:1
3   |
4LL | static A: System = System;
5   | -------------------------- previous global allocator defined here
6LL | #[global_allocator]
7LL | static B: System = System;
8   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot define a new global allocator
9   |
10   = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
11
12error: aborting due to previous error
13