]> git.lizzy.rs Git - rust.git/blob - src/test/ui/allocator/two-allocators.stderr
Auto merge of #81507 - weiznich:add_diesel_to_cargo_test, r=Mark-Simulacrum
[rust.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 defined here
6 LL | #[global_allocator]
7 LL | 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
12 error: aborting due to previous error
13