Nightly regression: ndarray 0.9.1 stops compiling: temporary value dropped while borrowed #98616
Labels
C-bug
Category: This is a bug.
P-high
High priority
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
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: