Skip to content

Keep colors in compiler error messages #900

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

Open
mgeisler opened this issue Feb 19, 2023 · 0 comments
Open

Keep colors in compiler error messages #900

mgeisler opened this issue Feb 19, 2023 · 0 comments
Labels
enhancement Something new the playground could do help wanted Not immediately going to be prioritized — ask for mentoring instructions!

Comments

@mgeisler
Copy link

The playground currently removes the colors from the compiler error messages. Using the example from Comprehensive Rust 🦀, we get

image

in the playground, but

image

The red, blue, and green colors have been lost.

The colorful and helpful error messages from the compiler are a big selling point of Rust, so it would be great if we could keep them in the playground as well.

This was first reported in google/comprehensive-rust#407, but it looks like an upstream issue to me. It is related to #879 in the sense that it might require some client-side changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something new the playground could do help wanted Not immediately going to be prioritized — ask for mentoring instructions!
Projects
None yet
Development

No branches or pull requests

2 participants