mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
96a40e9ac3
MGCA: Fix incorrect pretty printing of valtree arrays Fixes rust-lang/rust#151126 - **add failing test** - **fix: additional check whether const array could be printed as raw bytes** As I figured out, the problem was in `pretty_print_const_valtree`, where it tried to print unevaluated consts as if they were evaluated, which resulted in ICE.