fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
358 B11 linesraw
1error: cannot define multiple global allocators
2  --> $DIR/two-allocators.rs:6:1
3   |
4LL | static A: System = System;
5   | -------------------------- previous global allocator is defined here
6LL | #[global_allocator]
7LL | static B: System = System;
8   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot define a new global allocator
9
10error: aborting due to previous error
11