Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore trailing commas in
ExpectedDebug
(#455)
* Ignore trailing commas in `ExpectedDebug` rust-lang/rust/pull/59076 changed the multiline Debug representation to always include a trailing comma. This change currently breaks our tests on beta and nightly, since we use this Debug representation to compare expected parsing output. We cannot simply add the trailing commas to the expected output strings, since that would break on older rustc versions we support. Instead, this commit makes it so that all trailing commas are stripped before the comparison. This workaround can be removed once rust-lang/rust/pull/59076 reaches our minimum supported rustc version. * Bump minimum Rust version to 1.31.0 That's required by the current version rustc-demangle, which is a dependency of mdbook.
- Loading branch information