mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
152 B
Plaintext
9 lines
152 B
Plaintext
error: allocators must be statics
|
|
--> $DIR/function-allocator.rs:2:1
|
|
|
|
|
LL | fn foo() {}
|
|
| ^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|