-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Matching a struct pattern should autoderef #661
Comments
Perhaps the answer is to introduce "box patterns"? |
What sully said; box patterns seem to me to be more broadly useful anyway (consider boxed tags, etc.) |
I think stars are still free in pattern syntax. |
keeperofdakeys
pushed a commit
to keeperofdakeys/rust
that referenced
this issue
Dec 12, 2017
Add CMSPAR to linux/mips
marysaka
pushed a commit
to sunriseos/rust
that referenced
this issue
Oct 20, 2019
bjorn3
added a commit
to bjorn3/rust
that referenced
this issue
Jan 24, 2023
ZuseZ4
pushed a commit
to EnzymeAD/rust
that referenced
this issue
Mar 7, 2023
celinval
added a commit
to celinval/rust-dev
that referenced
this issue
Jun 4, 2024
- Change `#[kani::proof]` expansion so it doesn't include `#[no_mangle]` but includes `[allow(dead_code)]`. (rust-lang#661 and rust-lang#689). - Add a check for harnesses with arguments and merge the checks into one function (rust-lang#1919). Co-authored-by: Zyad Hassan <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Either that, or we need a syntax for dereferencing in a pattern.
The text was updated successfully, but these errors were encountered: