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

Allow paths in constants to refer to polymorphic items. #20295

Merged
merged 4 commits into from
Jan 5, 2015

Conversation

eddyb
Copy link
Member

@eddyb eddyb commented Dec 29, 2014

See the added run-pass test for all the newly supported cases.
This is a prerequisite for rvalue promotion. Fixes #13970.
r? @nikomatsakis

@frewsxcv
Copy link
Member

frewsxcv commented Jan 3, 2015

Needs a rebase

bors added a commit that referenced this pull request Jan 4, 2015
Allow paths in constants to refer to polymorphic items.

Reviewed-by: nikomatsakis
bors added a commit that referenced this pull request Jan 4, 2015
Allow paths in constants to refer to polymorphic items.

Reviewed-by: nikomatsakis
@bors bors merged commit 9a90d43 into rust-lang:master Jan 5, 2015
@eddyb eddyb deleted the poly-const branch January 5, 2015 00:50
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.

ICE with static function pointer to a generic function
4 participants