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

Fix trait_ref_to_existential as trait aliases is stabilized #66420

Open
estebank opened this issue Nov 14, 2019 · 0 comments
Open

Fix trait_ref_to_existential as trait aliases is stabilized #66420

estebank opened this issue Nov 14, 2019 · 0 comments
Labels
F-trait_alias `#![feature(trait_alias)]` requires-nightly This issue requires a nightly compiler in some way. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@estebank
Copy link
Contributor

#66392 (comment)

There appears to be a missing filter on top of expand_trait_aliases, which picks up non-supertraits where clauses - but also, the object safety completely ignores trait aliases, which could be object safety hazards. We now use delay_span_bug there to avoid an ICE in stable even when the feature is disabled.

@estebank estebank added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. F-trait_alias `#![feature(trait_alias)]` labels Nov 14, 2019
@Centril Centril added the requires-nightly This issue requires a nightly compiler in some way. label Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-trait_alias `#![feature(trait_alias)]` requires-nightly This issue requires a nightly compiler in some way. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants