You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
"explanation": "\nThis error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n"
38
+
},
39
+
"level": "error",
40
+
"message": "no method named `write_fmt` found for type `std::string::String` in the current scope",
41
+
"rendered": "error[E0599]: no method named `write_fmt` found for type `std::string::String` in the current scope\n --> src/main.rs:3:5\n |\n3 | write!(out, \"{}\", 123);\n | ^^^^^^^^^^^^^^^^^^^^^^^\n |\n = help: items from traits can only be used if the trait is in scope\n = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)\nhelp: the following trait is implemented but not in scope, perhaps add a `use` for it:\n |\n1 | use std::fmt::Write;\n |\n\n",
0 commit comments