-
Couldn't load subscription status.
- Fork 13.9k
Fix rustdoc ICE on bad typedef with mismatching types #106366
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
Fix rustdoc ICE on bad typedef with mismatching types #106366
Conversation
|
Oh neat! |
|
Good point! I'll check them out. |
9b0ea7d to
d117cbe
Compare
|
Only two issues are still panicking but all the others are fixed by this PR, so it's always that done. :) |
This comment has been minimized.
This comment has been minimized.
d117cbe to
eadbdff
Compare
|
Q: Why rustdoc even invoked on code, that didn't compile itself and try to fix things by himself? |
This comment has been minimized.
This comment has been minimized.
|
I see at least one answer to that: more evaluations are performed in later rustdoc stages (in the clean pass). Before that, it didn't trigger the error, making |
eadbdff to
c156773
Compare
|
@bors r+ rollup |
…mpiler-errors Rollup of 8 pull requests Successful merges: - rust-lang#95985 (Add PhantomData marker to Context to make Context !Send and !Sync) - rust-lang#104298 (Add notes and examples about non-intuitive `PathBuf::set_extension` behavior) - rust-lang#105558 (Reduce HIR debug output) - rust-lang#106315 (Cleanup `mingw-tidy` docker job) - rust-lang#106354 (Rustdoc-Json: Report discriminant on all kinds of enum variant.) - rust-lang#106366 (Fix rustdoc ICE on bad typedef with mismatching types) - rust-lang#106376 (Update books) - rust-lang#106383 (Document some of the AST nodes) Failed merges: - rust-lang#106356 (clean: Remove `ctor_kind` from `VariantStruct`.) r? `@ghost` `@rustbot` modify labels: rollup
Fixes #106226.
Fixes #105742.
Fixes #105737.
Fixes #105334.
Fixes #96287.
In this case, it's ok to replace the panic with
rustc_error::raisebecause the compiler provided us with aError.r? @notriddle