-
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
Nightly regression: ndarray 0.9.1 stops compiling: temporary value dropped while borrowed #98616
Comments
Just adding a note. The issue seems to be an old version of
The crate |
bisection seems to point to commit 10f4ce3 cc @cjgillot searched nightlies: from nightly-2022-04-01 to nightly-2022-06-28 bisected with cargo-bisect-rustc v0.6.0Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc --start=2022-04-01 (unsure if this regression may hit other more recent crates) |
I've been suspecting this bug for a few days, but unable to reproduce it. I think I have a patch, will confirm once I manage to MCVE. |
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-high |
ndarray 0.9.1 compiles with rustc 1.61.0 but not with rustc 1.64.0-nightly (2f3ddd9 2022-06-27).
Code
Put this into a
Cargo.toml
of a new project:rustc stable <= 1.61.0 compiles the crate fine, rustc nightly gives the following error:
Version it worked on
Version with regression
@rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged
The text was updated successfully, but these errors were encountered: