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

Rust AST Error - ImplExprPredNotFound #474

Closed
franziskuskiefer opened this issue Jan 30, 2024 · 2 comments · Fixed by #648
Closed

Rust AST Error - ImplExprPredNotFound #474

franziskuskiefer opened this issue Jan 30, 2024 · 2 comments · Fixed by #648
Labels
bug Something isn't working frontend Issue in the Rust to JSON translation unsupported-rust Rust code rejected by hax. Unless marked wontfix, we want to support it soon.

Comments

@franziskuskiefer
Copy link
Member

hax fails extracting the following code.

// error[HaxFront]: Supposely unreachable place in the Rust AST. The label is "ImplExprPredNotFound".
// This error report happend because some assumption about the Rust AST was broken.
pub enum Error {
Fail,
}
impl Error {
pub fn for_application_callback() -> impl FnOnce() -> Self {
|| Self::Fail
}
}

@franziskuskiefer franziskuskiefer added bug Something isn't working frontend Issue in the Rust to JSON translation labels Jan 30, 2024
@franziskuskiefer

This comment was marked as duplicate.

@franziskuskiefer franziskuskiefer added the unsupported-rust Rust code rejected by hax. Unless marked wontfix, we want to support it soon. label Feb 2, 2024
@franziskuskiefer
Copy link
Member Author

@W95Psp Looks like this wasn't tackled according to priority. Please re-prioritise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Issue in the Rust to JSON translation unsupported-rust Rust code rejected by hax. Unless marked wontfix, we want to support it soon.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant