]> git.lizzy.rs Git - rust.git/blob - src/test/ui/allocator-submodule.stderr
Auto merge of #60065 - QuietMisdreavus:async-move-doctests, r=ollie27
[rust.git] / src / test / ui / allocator-submodule.stderr
1 error: `global_allocator` cannot be used in submodules
2   --> $DIR/allocator-submodule.rs:25:5
3    |
4 LL |     static MY_HEAP: MyAlloc = MyAlloc;
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8