-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
unary move is not integrated into borrowck #3071
Labels
A-lifetimes
Area: Lifetimes / regions
Milestone
Comments
nikomatsakis
added a commit
that referenced
this issue
Aug 3, 2012
Fixed now. |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Sep 28, 2021
Fix various redundant_closure bugs changelog: Fix various false negatives and false positives for [`redundant_closure`] Closes rust-lang#3071 Closes rust-lang#4002 This lint is full of weird nuances and this is basically a re-write to tighten up the logic.
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this issue
Sep 25, 2023
…obk,saethlin deprecate -Zmiri-disable-abi-check This was added in rust-lang/miri#1776 but I couldn't find any discussion or motivation.
celinval
pushed a commit
to celinval/rust-dev
that referenced
this issue
Jun 4, 2024
Relevant upstream changes: rust-lang#120675: An intrinsic `Symbol` is now wrapped in a `IntrinsicDef` struct, so the relevant part of the code needed to be updated. rust-lang#121464: The second argument of the `create_wrapper_file` function changed from a vector to a string. rust-lang#121662: `NullOp::DebugAssertions` was renamed to `NullOp::UbCheck` and it now has data (currently unused by Kani) rust-lang#121728: Introduces `F16` and `F128`, so needed to add stubs for them rust-lang#121969: `parse_sess` was renamed to `psess`, so updated the relevant code. rust-lang#122059: The `is_val_statically_known` intrinsic is now used in some `core::fmt` code, so had to handle it in (codegen'ed to false). rust-lang#122233: This added a new `retag_box_to_raw` intrinsic. This is an operation that is primarily relevant for stacked borrows. For Kani, we just return the pointer. Resolves rust-lang#3057
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should fail:
but it does not. Should be a simple fix, add the appropriate line to
check_loans.rs
The text was updated successfully, but these errors were encountered: