toml icon indicating copy to clipboard operation
toml copied to clipboard

Rust TOML Parser

Results 98 toml issues
Sort by recently updated
recently updated
newest added

```diff #[test] fn stray_cr() { - bad!("\r", "unexpected character found: `\\r` at line 1 column 1"); + bad!( + "\r", + "\ +TOML parse error at line 1, column 1...

C-bug
A-error

```diff bad!( "a = \"\r\"", - "invalid character in string: `\\r` at line 1 column 6" + "\ +TOML parse error at line 1, column 6 + | +1 |...

C-bug
A-error

```diff bad!( "key=\n3", - "expected a value, found a newline at line 1 column 5" + "\ +TOML parse error at line 1, column 5 + | +1 | key=...

C-bug
A-error

```diff - "expected a table key, found an equals at line 1 column 1" + "\ +TOML parse error at line 1, column 1 + | +1 | =3 +...

C-bug
A-error

```diff bad!( "''''''=3", - "multiline strings are not allowed for key at line 1 column 1" + "\ +TOML parse error at line 1, column 3 + | +1 |...

C-bug
A-error

```diff + bad!( + "foo = \"\\", + "\ +TOML parse error at line 1, column 8 + | +1 | foo = \"\\ + | ^ +invalid basic string...

C-bug
A-error

```diff @@ -606,7 +1157,14 @@ fn bad_table_redefine() { foo=\"bar\" [a] ", - "redefinition of table `a` for key `a` at line 6 column 9" + "\ +TOML parse error at...

C-bug
A-error

```diff @@ -214,7 +267,13 @@ fn custom_errors() { c_b = 'bbbb' ", Parent, - "missing field `c_b` for key `p_b` at line 12 column 13" + "\ +TOML parse error...

C-bug
A-error

```diff bad!( "a = [ \r ]", - "unexpected character found: `\\r` at line 1 column 7" + "\ +TOML parse error at line 1, column 7 + | +1...

C-bug
A-error

When the fuzzer tried to parse and then roundtrip the following snippet, the versions diverged ```toml 8={4={ },4.2.0=1,4.2.7=1} ``` ```   | thread '' panicked at 'assertion failed: `(left == right)`...

C-bug
A-parse
A-output