Unnamed repository; edit this file 'description' to name the repository.
Rollup merge of #149869 - joboet:torn-dbg, r=Mark-Simulacrum
std: avoid tearing `dbg!` prints Fixes https://github.com/rust-lang/rust/issues/136703. This is an alternative to rust-lang/rust#149859. Instead of formatting everything into a string, this PR makes multi-expression `dbg!` expand into multiple nested matches, with the final match containing a single `eprint!`. By using macro recursion and relying on hygiene, this allows naming every bound value in that `eprint!`. CC @orlp r? libs
Matthias Krüger 3 months ago
parent 7cff654 · parent 33411cf · commit 6b0744c
0 files changed, 0 insertions, 0 deletions