-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Values should be moved in deconstructed arguments #12534
Milestone
Comments
Seems bad. Nominating. |
Assigning 1.0, P-backcompat-lang. |
pcwalton
added a commit
to pcwalton/rust
that referenced
this issue
Jun 24, 2014
bindings. This will break code that incorrectly did things like: fn f(a @ box b: Box<String>) {} Fix such code to not rely on undefined behavior. Closes rust-lang#12534. [breaking-change]
This is very unfortunate, as code that is common in Haskell or Elixir is much uglier in Rust. The following function doesn't type:
|
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Apr 4, 2024
Fix typo in exhaustive_items.rs changelog: none
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This compiles without error:
The text was updated successfully, but these errors were encountered: