Skip to content

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
Contributor

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