Skip to content

Conversation

@pcwalton
Copy link
Contributor

@pcwalton pcwalton commented Aug 4, 2014

This is needed for some GC stuff in Servo.

r? @alexcrichton

@luqmana
Copy link
Contributor

luqmana commented Aug 5, 2014

Pulled in as part of #16081.

@luqmana luqmana closed this Aug 5, 2014
bors added a commit that referenced this pull request Jun 27, 2016
Remove the return_address intrinsic.

This intrinsic to get the return pointer was introduced in #16248 / #16081 by @pcwalton for Servo.
However, as explained in #34227, it's impossible to ensure it's used correctly, and it broke with `-Zorbit`.

Servo's usage is being replaced in servo/servo#11872, and I expect nobody else to have abused it.
But I've also started a crater run, just in case this is a `[breaking-change]` for anyone else.
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 8, 2024
internal: Add proc-macro-test crate back to the main workspace

Should fix rust-lang/rust-analyzer#16194
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 25, 2025
…ializers (rust-lang#16248)

When the initializer is a function call or suffixed literal (e.g.,
`size_of::<T>()` or `10u8`), suggest casting the initializer too, since
changing only the type annotation would fail to compile. Fixes
rust-lang/rust-clippy#16240

```
changelog: [`needless_type_cast`]: Fix suggesting invalid code for non-literal initializers
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants