toml icon indicating copy to clipboard operation
toml copied to clipboard

`toml_edit` error regression compared to `toml`: missing value could use more specific error

Open epage opened this issue 2 years ago • 0 comments

     bad!(
         "key=\n3",
-        "expected a value, found a newline at line 1 column 5"
+        "\
+TOML parse error at line 1, column 5
+  |
+1 | key=
+  |     ^
+invalid string
+expected `\"`, `'`
+"
     );

epage avatar Jan 18 '23 03:01 epage