-
Notifications
You must be signed in to change notification settings - Fork 318
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
Possible false positive of stacked borrow rules #3657
Comments
This is not a false positive. The ranges printed by the diagnostics are exclusive on the end, like Rust ranges. Alternatively if you mean you think that Stacked Borrows should be changed to accept this code, that's part of what Tree Borrows is for. Set I'm closing this because it is not a bug in Miri (which essentially does not have false positives), but I don't want to discourage you from asking further questions about this situation or diagnostic. |
The code above fails with the following message:
Is the unsafe code not quite right, or is this a false positive?
The text was updated successfully, but these errors were encountered: