Skip to content

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

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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
# for free to join this conversation on GitHub. Already have an account? # 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