-
Notifications
You must be signed in to change notification settings - Fork 211
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
Error spans into the standard library are missing because rust-src is not installed #808
Labels
enhancement
Something new the playground could do
Comments
RalfJung
changed the title
Errors on the playground are missing some spans
Some errors on the playground are missing some spans
Jun 3, 2022
This is because there's no source files for the compiler to point to:
If we install them, they reappear:
|
shepmaster
changed the title
Some errors on the playground are missing some spans
Error spans into the standard library are missing because rust-src is not installed
Jun 3, 2022
I think that this should be reported separately as an upstream Rust bug. |
Ah, good catch about the Would it be an option for the playground to have rust-src installed? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider this code:
Locally, this renders an error like this:
However, on the playground, it looks like this:
In particular, the actual message of what went wrong ("unable to turn pointer into raw bytes") and the span of where that happened are missing!
The text was updated successfully, but these errors were encountered: