Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upClarify cast rules (tracking issue for RFC 1052) #26391
Comments
nikomatsakis
added
the
T-compiler
label
Jun 18, 2015
nikomatsakis
referenced this issue
Jun 18, 2015
Merged
Clarify cast rules, especially regarding fat pointers. #1052
This comment has been minimized.
This comment has been minimized.
|
triage: P-high -- I'm giving this high priority since accepting casts that we ought not to is a backwards compatibility risk, though it is mitigated by the fact that afaik the illegal casts yield an ICE (but I haven't done exhaustive testing) |
rust-highfive
added
the
P-high
label
Jun 18, 2015
This comment has been minimized.
This comment has been minimized.
|
The newly-illegal casts shouldn't be ICE-s (I mean, on nightly). Casts on stable are just randomly ICE-ey. |
arielb1
pushed a commit
to arielb1/rust
that referenced
this issue
Jun 18, 2015
arielb1
referenced this issue
Jun 18, 2015
Merged
Prohibit casts between fat pointers to different traits #26394
bors
added a commit
that referenced
this issue
Jun 22, 2015
bors
closed this
in
#26394
Jun 22, 2015
jroesch
added a commit
to jroesch/rust
that referenced
this issue
Jul 21, 2015
thepowersgang
added a commit
to thepowersgang/rust
that referenced
this issue
Jul 25, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nikomatsakis commentedJun 18, 2015
Much of the implementation work for rust-lang/rfcs#1052 has been done, but there remain some corner cases to fix: