Referencing result of const-fn with expression argument causes ICE with optimization. #38985
Labels
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
Test case:
When compile with
RUST_BACKTRACE=1 rustc -O foo.rs
, causes this error:The text was updated successfully, but these errors were encountered: