We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This Rust code makes rustc stop with an internal compile error.
fn main() { enum Msg { Start, Measure(Fn() -> usize), } let _ = Msg::Start; }
The text was updated successfully, but these errors were encountered:
This seems to be the same issue as, or at least related to, #16812
Changing the example to
fn main() { enum Msg { Start(usize), Measure([u8]), } let _ = Msg::Start; }
yields the same error message: Unexpected type returned from struct_tail
Unexpected type returned from struct_tail
Sorry, something went wrong.
cc #25388
This no longer ICEs!
No branches or pull requests
This Rust code makes rustc stop with an internal compile error.
The text was updated successfully, but these errors were encountered: