-
Notifications
You must be signed in to change notification settings - Fork 9
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
Compiler panics on 'cargo doc' #36
Comments
As you've guessed, this is on Rust: rust-lang/rust#61732 I guess I'll keep this open as sort of a tracking issue. Thanks for reporting! |
I'm reasonably sure it's caused by this line: Line 220 in c93af61
I don't think that's valid rust, but truthfully I have no idea as I can't find that construction documented anywhere, and it does compile... |
https://doc.rust-lang.org/reference/visibility-and-privacy.html suggests it should be fine, but removing it does indeed fix the thing. I don't actually think we need that line anymore, or do we, @little-dude ? |
We don't actually need this function to be public and it crashes rustc when compiling docs fixes xi-frontend#36
We don't actually need this function to be public and it crashes rustc when compiling docs fixes xi-frontend#36
We don't actually need this function to be public and it crashes rustc when compiling docs fixes #36
Since the latest merge, it seems the compiler panics when generating docs.
I know this is probably a rustc error (as proclaimed by the compiler as well) and has nothing to do with the changes made, but I'm not familiar enough with it to properly report it in the rustc repo.
Anyway, this is what I'm getting after running cargo doc:
The text was updated successfully, but these errors were encountered: