Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix formatting of \0 in tests #20

Merged
merged 1 commit into from
Oct 12, 2022
Merged

Conversation

krtab
Copy link
Contributor

@krtab krtab commented Oct 12, 2022

Tests were broken.

This follows this PR in rustc:
rust-lang/rust#95345

Which breakage was discussed here:
rust-lang/rust#95732

Because this landed in 1.61.0, the MSRV has to be updated accordingly.

@RazrFalcon
Copy link
Owner

Interesting. Sadly your solution is not a fix, since we do support Rust 1.31+
I would suggest using \u{1} instead of \0 in tests. This would not require MSRV bump.

@krtab
Copy link
Contributor Author

krtab commented Oct 12, 2022

Thanks for the quick review. I've changed the diff accordingly. :)

This follows this PR in rustc:
<rust-lang/rust#95345>

Which breakage was discussed here:
<rust-lang/rust#95732>

Still relying on \0 would require bumping the MSRV to 1.61.0
@RazrFalcon RazrFalcon merged commit 0e8d1be into RazrFalcon:master Oct 12, 2022
@RazrFalcon
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants