about summary refs log tree commit diff
path: root/src/test/ui/allocator-submodule.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-04-14 00:23:25 +0200
committerGitHub <noreply@github.com>2019-04-14 00:23:25 +0200
commitbdb264ff5f4ecb39e5c8babf594d355bc4795afc (patch)
treebf10fc6164cf9db8de31cc7587ddf6f03f8f0aa7 /src/test/ui/allocator-submodule.rs
parente4c66afba5d69356879570aeff22db5a38566a86 (diff)
parentfc928a18bad0b6aa275a6908351b164f6f4abcd6 (diff)
downloadrust-bdb264ff5f4ecb39e5c8babf594d355bc4795afc.tar.gz
rust-bdb264ff5f4ecb39e5c8babf594d355bc4795afc.zip
Rollup merge of #59675 - SimonSapin:stable-alloc, r=alexcrichton
Stabilize the `alloc` crate.

This implements RFC 2480:

* https://github.com/rust-lang/rfcs/pull/2480
* https://github.com/rust-lang/rfcs/blob/master/text/2480-liballoc.md

Closes https://github.com/rust-lang/rust/issues/27783
Diffstat (limited to 'src/test/ui/allocator-submodule.rs')
-rw-r--r--src/test/ui/allocator-submodule.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/ui/allocator-submodule.rs b/src/test/ui/allocator-submodule.rs
index a1cca50ba98..7a8d86b8da1 100644
--- a/src/test/ui/allocator-submodule.rs
+++ b/src/test/ui/allocator-submodule.rs
@@ -1,8 +1,6 @@
 // Tests that it is possible to create a global allocator in a submodule, rather than in the crate
 // root.
 
-#![feature(alloc, allocator_api, global_allocator)]
-
 extern crate alloc;
 
 use std::{