rust/src/test/ui/feature-gate-global_allocator.stderr

11 lines
346 B
Plaintext
Raw Normal View History

error: the `#[global_allocator]` attribute is an experimental feature
--> $DIR/feature-gate-global_allocator.rs:11:1
|
11 | #[global_allocator] //~ ERROR: attribute is an experimental feature
| ^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(global_allocator)] to the crate attributes to enable
error: aborting due to previous error