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

Apply borrowck to fns that appear in const declarations. #22736

Merged
merged 1 commit into from
Feb 25, 2015

Conversation

nikomatsakis
Copy link
Contributor

Apply borrowck to fns that appear in const declarations.
Fixes #22382.

r? @eddyb

@eddyb
Copy link
Member

eddyb commented Feb 24, 2015

@bors r+ d443f98 rollup

Manishearth added a commit to Manishearth/rust that referenced this pull request Feb 24, 2015
 Apply borrowck to fns that appear in const declarations.
Fixes rust-lang#22382.

r? @eddyb
@bors bors merged commit d443f98 into rust-lang:master Feb 25, 2015
@nikomatsakis nikomatsakis deleted the issue-22382 branch March 30, 2016 16:14
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

Successfully merging this pull request may close these issues.

Functions in const declarations ignore lifetimes, mutability, violate memory safety
3 participants