I've made this modification locally to allow dynamically specifying argument replacements: https://github.com/MikePopoloski/slang/blob/master/external/fmt/core.h#L1101 It allows usage like this: https://github.com/MikePopoloski/slang/blob/master/source/diagnostics/Diagnostics.cpp#L307