rust/src/test/ui/feature-gate-needs-allocator.stderr
est31 38438c618c Migrate a few feature gate tests to ui
Renames only in this commit, and obviously
.stderr file additions.
2017-12-07 10:14:39 +01:00

11 lines
347 B
Plaintext

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