We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
resource r(i: @mutable int) { *i = *i + 1; } fn movearg(i: r) { // Implicit copy to mutate reference i let j <- i; } fn main() { let i = @mutable 0; { let j <- r(i); movearg(j); } log_err *i; // nooooooo. destructor ran twice assert *i == 2; }
The text was updated successfully, but these errors were encountered:
marijn: brson: i think mut.rs, when inserting a value into the mut_map, could check whether it is an argument
Sorry, something went wrong.
e1ba559
Fix overwritten print bug (rust-lang#985)
af1b3ab
Avx512f_avx512vl (rust-lang#985)
e827214
Documentation: Updates for "Failures that Kani can spot" (rust-lang#985)
6d7b193
* Documentation: Updates for "Failures that Kani can spot" * Remove "future work" * Address comments - Restore "Limitations"
brson
No branches or pull requests
The text was updated successfully, but these errors were encountered: