Const promotion regression: "temporary value dropped while borrowed" #138600
Labels
C-bug
Category: This is a bug.
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
Code
I tried to compile the tests for
tokio-stream
with the latest nightly (cargo build --tests -p tokio-stream
), and got a "temporary value dropped while borrowed" error in two instances, e.g.:Version it worked on
Regression in rust-lang-ci@6d75903
The PR introducing the regression in this rollup is #138162: Update the standard library to Rust 2024
cc @ehuss
searched nightlies: from nightly-2025-03-12 to nightly-2025-03-14
regressed nightly: nightly-2025-03-14
searched commit range: 249cb84...cbfdf0b
regressed commit: a2aba05
bisected with cargo-bisect-rustc v0.6.9
Host triple: x86_64-unknown-linux-gnu
Reproduce with:
@rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged
The text was updated successfully, but these errors were encountered: