From b30134dbc3c29cf62a4518090e1389ff26918c19 Mon Sep 17 00:00:00 2001 From: Eduard Burtescu Date: Mon, 27 Jun 2016 01:47:28 +0300 Subject: Remove the return_address intrinsic. --- src/libcore/intrinsics.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/libcore') diff --git a/src/libcore/intrinsics.rs b/src/libcore/intrinsics.rs index 94baf188bca..edb965c1962 100644 --- a/src/libcore/intrinsics.rs +++ b/src/libcore/intrinsics.rs @@ -293,12 +293,6 @@ extern "rust-intrinsic" { #[stable(feature = "rust1", since = "1.0.0")] pub fn transmute(e: T) -> U; - /// Gives the address for the return value of the enclosing function. - /// - /// Using this intrinsic in a function that does not use an out pointer - /// will trigger a compiler error. - pub fn return_address() -> *const u8; - /// Returns `true` if the actual type given as `T` requires drop /// glue; returns `false` if the actual type provided for `T` /// implements `Copy`. -- cgit 1.4.1-3-g733a5