Skip to content

mark ~ parameters as noalias #6749

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
thestinger opened this issue May 26, 2013 · 1 comment
Closed

mark ~ parameters as noalias #6749

thestinger opened this issue May 26, 2013 · 1 comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. I-slow Issue: Problems and improvements with respect to performance of generated code.

Comments

@thestinger
Copy link
Contributor

The compiler guarantees that there are no outstanding borrows when passing a unique pointer by-value.

Note that we already tag &mut parameters as noalias now.

@thestinger
Copy link
Contributor Author

Fixed by c302010.

flip1995 pushed a commit to flip1995/rust that referenced this issue Feb 25, 2021
Test workspace at once

changelog: none

Follow-up to rust-lang#6733
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. I-slow Issue: Problems and improvements with respect to performance of generated code.
Projects
None yet
Development

No branches or pull requests

1 participant