diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2016-06-27 01:47:28 +0300 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2016-06-27 01:47:28 +0300 |
| commit | b30134dbc3c29cf62a4518090e1389ff26918c19 (patch) | |
| tree | 4d24ed3a757b48dccaac2603923a9d7faecd6aef /src/libcore | |
| parent | 15e8a67c47dc624cc7de67dfa8020a1daefc5067 (diff) | |
| download | rust-b30134dbc3c29cf62a4518090e1389ff26918c19.tar.gz rust-b30134dbc3c29cf62a4518090e1389ff26918c19.zip | |
Remove the return_address intrinsic.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/intrinsics.rs | 6 |
1 files changed, 0 insertions, 6 deletions
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<T, U>(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`. |
