-
Notifications
You must be signed in to change notification settings - Fork 13.3k
1.0.0 lacks share/doc/rust/html/error-index.html
#26240
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
Comments
That patch landed way after 1.0, so it shouldn't have affected this. |
Yes... 98fef7b is where the href arrives on stable. It is the same as part of 6faa8d6, to the second, but the latter also touches
So what to do?
The one on master isn't compiling for me just now. Maybe it can be my first dunking in rust. $ DYLD_LIBRARY_PATH=~/Applications/rust-1.0.0/lib rustc -o error-index-generator src/error-index-generator/main.rs
src/error-index-generator/main.rs:23:37: 23:53 error: unresolved import `syntax::diagnostics::metadata::get_metadata_dir`. Could not find `metadata` in `syntax::diagnostics`
src/error-index-generator/main.rs:23 use syntax::diagnostics::metadata::{get_metadata_dir, ErrorMetadataMap};
^~~~~~~~~~~~~~~~
src/error-index-generator/main.rs:23:55: 23:71 error: unresolved import `syntax::diagnostics::metadata::ErrorMetadataMap`. Could not find `metadata` in `syntax::diagnostics`
src/error-index-generator/main.rs:23 use syntax::diagnostics::metadata::{get_metadata_dir, ErrorMetadataMap};
^~~~~~~~~~~~~~~~
error: aborting due to 2 previous errors and yes, some kind of installer/dyld problem too. |
Unfortunately the error-index-generator uses unstable features right now (links to libsyntax as you've seen), which means that it's not generally going to work if you compile it out-of-tree (due to libsyntax changing rapidly over time). I think that generation of this is currently disabled as well due to various implementation issues in the previous version, so I'm going to close this in favor of #26009. |
After install from
rust-1.0.0-x86_64-apple-darwin.tar.gz
, the link inshare/doc/rust/html/index.html#the-error-index
toshare/doc/rust/html/error-index.html
is 404. (This doesn't trouble me, I'm still poking around.)404 because it is absent rather than renamed - by
grep -r "Rust Compiler Error Index" rust-1.0.0/
.I found src/error-index-generator/main.rs but haven't looked at where the ends don't meet. I'm happy to carry on digging later...
The text was updated successfully, but these errors were encountered: