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

Link to currently-selected channel's error index instead of always stable #207

Closed
gnzlbg opened this issue Aug 30, 2017 · 2 comments
Closed
Assignees
Labels
enhancement Something new the playground could do

Comments

@gnzlbg
Copy link

gnzlbg commented Aug 30, 2017

When I get an error with a nightly feature, like here:

https://play.rust-lang.org/?gist=4d64bf772c792d3975ad4e9f998eb20b&version=nightly

And I click on the explanation, it sends me to a page that doesn't contain it.

Maybe it should be sending me to some nightly docs page when using nightly? https://doc.rust-lang.org/nightly/error-index.html#E0564

instead of

https://doc.rust-lang.org/error-index.html#E0564

Note that, for some reason, the nightly index doesn't have E0564 in this case either...

@gnzlbg gnzlbg changed the title Explanations for nightly features not shown Explanations for nightly features not linked Aug 30, 2017
@shepmaster
Copy link
Member

I think there are two coupled problems here, but only one that we have the power to fix here:

Maybe it should be sending me to some nightly docs page when using nightly?

Yes, picking the right channel to link to makes sense. I'm going to change this issue to reflect that.

for some reason, the nightly index doesn't have E0564 in this case either...

That's going to be the bigger issue — we can't make error descriptions magically appear 😸 I think it's technically possible to have a giant list of what errors have descriptions in which channels and then only link the right ones... but that seems like a lot of work when errors should be documented to start with.

@shepmaster shepmaster added enhancement Something new the playground could do help wanted Not immediately going to be prioritized — ask for mentoring instructions! labels Aug 30, 2017
@shepmaster shepmaster changed the title Explanations for nightly features not linked Link to currently-selected channel's error index instead of always stable Aug 30, 2017
@gnzlbg
Copy link
Author

gnzlbg commented Aug 30, 2017

@shepmaster

we can't make error descriptions magically appear

Yes, I did not want to meant this. I've added this request to the corresponding issue in rust-lang/rust.

@shepmaster shepmaster self-assigned this Apr 26, 2018
@shepmaster shepmaster removed the help wanted Not immediately going to be prioritized — ask for mentoring instructions! label Apr 26, 2018
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
Projects
None yet
Development

No branches or pull requests

2 participants