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

Revive delay_span_bug to prevent ICE in const_generics #67974

Closed
wants to merge 1 commit into from

Conversation

JohnTitor
Copy link
Member

This delay_span_bug removed by cd3ead1 in #67160. But it acutually hides bugs so I think we should revive it.

Fixes #67883

@rust-highfive
Copy link
Collaborator

r? @eddyb

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 7, 2020
@matthewjasper
Copy link
Contributor

We should never be hiding ICEs that require a feature gate enabled.

@JohnTitor
Copy link
Member Author

We should never be hiding ICEs that require a feature gate enabled.

Hm, so we should just close this then find another approach, right?

@matthewjasper
Copy link
Contributor

I would prefer to have some understanding of what's going wrong here before we make a core part of the type system more fragile.

@JohnTitor
Copy link
Member Author

Got it, then closing this. Thanks for letting me know!

@JohnTitor JohnTitor closed this Jan 8, 2020
@JohnTitor JohnTitor deleted the fix-const-ice branch January 8, 2020 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ICE with const generics over a &'static str
4 participants