Missing use std::fmt::Write;
with write!
: rustc suggests editing the sysroot
#139830
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
playground
Current output
Desired output
Rationale and extra context
Editing libstd is not a solution for a missing trait import
Rust Version
The text was updated successfully, but these errors were encountered: