Skip to content
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

alias analysis pass in rustc #408

Closed
graydon opened this issue May 26, 2011 · 2 comments
Closed

alias analysis pass in rustc #408

graydon opened this issue May 26, 2011 · 2 comments

Comments

@graydon
Copy link
Contributor

graydon commented May 26, 2011

Currently we permit forming aliases in ways that are not safe: aliasing a mutable cell within a non-pinned box, doubly aliasing mutable values, etc. We need a pass which prohibits these sorts of things (as well as, er, a principled enumeration of which types of aliasing are bad).

@ghost ghost assigned marijnh Jun 2, 2011
@graydon
Copy link
Contributor Author

graydon commented Jun 6, 2011

First cut of this landed in 4bd5f83

@marijnh
Copy link
Contributor

marijnh commented Jun 9, 2011

A more complete implementation was added in beda82d

@marijnh marijnh closed this as completed Jun 9, 2011
arielb1 pushed a commit to arielb1/rust that referenced this issue Apr 10, 2015
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
dlrobertson pushed a commit to dlrobertson/rust that referenced this issue Nov 29, 2018
Aaron1011 pushed a commit to Aaron1011/rust that referenced this issue Oct 26, 2020
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
GuillaumeGomez pushed a commit to GuillaumeGomez/rust that referenced this issue Feb 21, 2024
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

2 participants