We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e353402 commit 997655cCopy full SHA for 997655c
src/test/ui/allocator-submodule.stderr
@@ -1,5 +1,5 @@
1
error: `global_allocator` cannot be used in submodules
2
- --> $DIR/allocator-submodule.rs:34:5
+ --> $DIR/allocator-submodule.rs:37:5
3
|
4
LL | static MY_HEAP: MyAlloc = MyAlloc; //~ ERROR global_allocator
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments