Skip to content

Do not trip an assert when coercing &Trait to &Trait in constants. #25797

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

Merged
merged 1 commit into from
May 27, 2015

Conversation

eddyb
Copy link
Member

@eddyb eddyb commented May 26, 2015

Fixes #24644.

@rust-highfive
Copy link
Contributor

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@luqmana
Copy link
Member

luqmana commented May 26, 2015

@bors: r+

@bors
Copy link
Collaborator

bors commented May 26, 2015

📌 Commit d957e04 has been approved by luqmana

bors added a commit that referenced this pull request May 27, 2015
@bors
Copy link
Collaborator

bors commented May 27, 2015

⌛ Testing commit d957e04 with merge efcc1d1...

@bors
Copy link
Collaborator

bors commented May 27, 2015

💔 Test failed - auto-win-gnu-32-nopt-t

@eddyb
Copy link
Member Author

eddyb commented May 27, 2015

@bors retry

@bors
Copy link
Collaborator

bors commented May 27, 2015

@bors bors merged commit d957e04 into rust-lang:master May 27, 2015
@eddyb eddyb deleted the const-trait-to-trait branch May 27, 2015 17:35
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: assertion failed: prev_const.is_none() || prev_const == Some(llconst)
5 participants