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

Unsupported Rust: never patterns (nightly) #927

Open
W95Psp opened this issue Sep 30, 2024 · 0 comments
Open

Unsupported Rust: never patterns (nightly) #927

W95Psp opened this issue Sep 30, 2024 · 0 comments
Labels
keep-open marked-unimplemented Issue refered by `Unimplemented {issue_id...}` in the engine unsupported-rust Rust code rejected by hax. Unless marked wontfix, we want to support it soon. wontfix This will not be worked on

Comments

@W95Psp
Copy link
Collaborator

W95Psp commented Sep 30, 2024

Never patterns is nightly, we don't plan on supporting that.

#![feature(never_type)]
#![feature(never_patterns)]

fn f(x: &Option<!>) {
    match x {
        Some(!),
        None => ()
    }
}

Open this code snippet in the playground

@W95Psp W95Psp added wontfix This will not be worked on unsupported-rust Rust code rejected by hax. Unless marked wontfix, we want to support it soon. keep-open marked-unimplemented Issue refered by `Unimplemented {issue_id...}` in the engine labels Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keep-open marked-unimplemented Issue refered by `Unimplemented {issue_id...}` in the engine unsupported-rust Rust code rejected by hax. Unless marked wontfix, we want to support it soon. wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant