Skip to content

opaque types + implied bounds ICE #107

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

Closed
lcnr opened this issue May 4, 2024 · 1 comment
Closed

opaque types + implied bounds ICE #107

lcnr opened this issue May 4, 2024 · 1 comment
Labels
blocks-crater Blocks running a crater run for breakage w/ new solver

Comments

@lcnr
Copy link
Contributor

lcnr commented May 4, 2024

computing implied bounds with opaque types causes an ICE. It should not :3

fn foo<'a>() -> &'a impl Sized {
    &()
}
@lcnr lcnr added the blocks-crater Blocks running a crater run for breakage w/ new solver label May 4, 2024
@lcnr
Copy link
Contributor Author

lcnr commented May 14, 2024

fixed by rust-lang/rust#124809

@lcnr lcnr closed this as completed May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocks-crater Blocks running a crater run for breakage w/ new solver
Projects
None yet
Development

No branches or pull requests

1 participant