granite-rust/compiler/rustc_const_eval/src
bors 4b043faba3 Auto merge of #94131 - Mark-Simulacrum:fmt-string, r=oli-obk
Always format to internal String in FmtPrinter

This avoids monomorphizing for different parameters, decreasing generic code
instantiated downstream from rustc_middle -- locally seeing 7% unoptimized LLVM IR
line wins on rustc_borrowck, for example.

We likely can't/shouldn't get rid of the Result-ness on most functions, though some
further cleanup avoiding fmt::Error where we now know it won't occur may be possible,
though somewhat painful -- fmt::Write is a pretty annoying API to work with in practice
when you're trying to use it infallibly.
2022-02-24 17:18:07 +00:00
..
const_eval Rollup merge of #94143 - est31:let_else_const_eval, r=lcnr 2022-02-21 19:36:48 +01:00
interpret Auto merge of #94131 - Mark-Simulacrum:fmt-string, r=oli-obk 2022-02-24 17:18:07 +00:00
transform Rollup merge of #94143 - est31:let_else_const_eval, r=lcnr 2022-02-21 19:36:48 +01:00
util rustc_const_eval: adopt let else in more places 2022-02-19 01:55:47 +01:00
lib.rs Support pretty printing of invalid constants 2022-02-16 00:38:59 +01:00