Skip to content

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