Skip to content

Document 43291 #189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Havvy opened this issue Jan 2, 2018 · 3 comments
Closed

Document 43291 #189

Havvy opened this issue Jan 2, 2018 · 3 comments

Comments

@Havvy
Copy link
Contributor

Havvy commented Jan 2, 2018

There's yet another footgun in the language right now, as per rust-lang/rust#43291 and so it should be documented if nobody plans on fixing it soon.

@mrhota
Copy link
Contributor

mrhota commented Jan 13, 2018

@Havvy it's fixed as of 10 days ago

@Havvy Havvy closed this as completed Jan 13, 2018
@nodakai
Copy link
Contributor

nodakai commented Jun 18, 2018

I don't think the semantics of int_val as *_ T is clearly documented anywhere, and ironically the "fix" rust-lang/rust#47147 had no impact on the reference!

Integer type | *V where V: Sized | Address to pointer cast

What is the "address to pointer cast" !? Perhaps the original author of this paragraph had LLVM's (zero-extending) inttoptr operation in mind...

Anyways can we repurpose this ticket for the accurate documentation of casts involving pointers?

@matthewjasper
Copy link
Contributor

Pointer casts are tracked at #66.

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

No branches or pull requests

4 participants