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

Disallow binding to alias parameters #446

Closed
pcwalton opened this issue Jun 1, 2011 · 1 comment
Closed

Disallow binding to alias parameters #446

pcwalton opened this issue Jun 1, 2011 · 1 comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@pcwalton
Copy link
Contributor

pcwalton commented Jun 1, 2011

This is unsafe (until we have interior/nonescaping lambdas).

@ghost ghost assigned marijnh Jun 15, 2011
@marijnh
Copy link
Contributor

marijnh commented Jun 16, 2011

It looks like trans_bind always copies the bound parameters into the closure context. Also, experimentally trying to write unsafe code didn't turn up any corruptions. So I think there's no problem here.

@marijnh marijnh closed this as completed Jun 16, 2011
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
Use `#[link(cfg(..))]` in preparation for libstd
dlrobertson pushed a commit to dlrobertson/rust that referenced this issue Nov 29, 2018
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
* Improve Type Analysis speed

* Correct gep of multiple possible input vals
GuillaumeGomez pushed a commit to GuillaumeGomez/rust that referenced this issue Feb 21, 2024
fix tests/ui/simd/issue-89193.rs and mark as passing
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.
Projects
None yet
Development

No branches or pull requests

2 participants