-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Implement an alias analysis pass #486
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
Comments
Except for object, closures, and type parameters we don't. In the alias checker, this turned out to make type-based alias analysis quite a bit harder. |
That's fine. Alias analysis is hard for almost any language. We're still much better than C :) |
Oh, this has been done for a while now. |
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
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
May 17, 2024
add new lint that disallow renaming parameters in trait functions fixes: rust-lang#11443 fixes: rust-lang#486 changelog: add new lint [`renamed_function_params`] Note that the lint name is not final, because I have a bad reputation in naming things, and I don't trust myself.
celinval
pushed a commit
to celinval/rust-dev
that referenced
this issue
Jun 4, 2024
Partial support for Generator type
GuillaumeGomez
pushed a commit
to GuillaumeGomez/rust
that referenced
this issue
Jul 10, 2024
Merge fork
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One of the nice things about our type system is that we have very strong alias information. We can feed this information to LLVM to help guide its optimizations.
The text was updated successfully, but these errors were encountered: