]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #94156 - tmiasko:pp-str, r=petrochenkov
authorMatthias Krüger <matthias.krueger@famsik.de>
Mon, 21 Feb 2022 18:36:48 +0000 (19:36 +0100)
committerGitHub <noreply@github.com>
Mon, 21 Feb 2022 18:36:48 +0000 (19:36 +0100)
Gracefully handle non-UTF-8 string slices when pretty printing

Fixes #78520.

1  2 
compiler/rustc_middle/src/ty/print/pretty.rs