Hello, this set of commits fixes a few issues - most prominently, reduce_indent() expects blocks to be indented by four tabs in order to work properly, but setting .rustfmt.toml with "hard_tabs = true" .rustfmt.toml in a project which embeds papyrus would cause blocks to be indented with a \t, breaking this method.
In addition, the versions of several dependencies were bumped. This broke a few things, but most notably parse_program() searches for the string "LexError" to detect a certain result while that syn::parse_str() error is now displayed as "lex error". This case is now checked for.
Hello, this set of commits fixes a few issues - most prominently,
reduce_indent()
expects blocks to be indented by four tabs in order to work properly, but setting.rustfmt.toml with "hard_tabs = true"
.rustfmt.toml in a project which embeds papyrus would cause blocks to be indented with a \t, breaking this method.In addition, the versions of several dependencies were bumped. This broke a few things, but most notably parse_program() searches for the string "LexError" to detect a certain result while that syn::parse_str() error is now displayed as "lex error". This case is now checked for.