https://github.com/zwuis commented: C++23 improves `std::string`, allowing us to provide the following fixit: ```cpp s = std::move(s).substr(...); // ^^^^^^^^^^ ^ ``` See https://wg21.link/p2438r2 for the proposal. https://github.com/llvm/llvm-project/pull/209657