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
9 lines
140 B
Rust
9 lines
140 B
Rust
#![feature(rustc_private)]
|
|
#![allow(unused_extern_crates)]
|
|
|
|
extern crate alloc;
|
|
|
|
extern crate libc as alloc;
|
|
//~^ ERROR E0259
|
|
|
|
fn main() {}
|