NRVO miropt is unsound #111005
Labels
A-mir-opt
Area: MIR optimizations
C-bug
Category: This is a bug.
I-unsound
Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
Meta
Reproduces on master at
f5adff6bd8b29ac7dd173b36f0c8c35bb1c593c5
, as well asrustc --version --verbose
:The text was updated successfully, but these errors were encountered: