We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2b22a1 commit 5099ab6Copy full SHA for 5099ab6
src/libproc_macro/lib.rs
@@ -69,7 +69,7 @@ pub struct LexError {
69
#[stable(feature = "proc_macro_lexerror_impls", since = "1.44.0")]
70
impl fmt::Display for LexError {
71
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
72
- f.write_str("lex error")
+ f.write_str("cannot parse string into token stream")
73
}
74
75
0 commit comments