-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
ice: rustdoc: expect tcx.sess.has_errors return true #104237
Comments
This regressed in 465ac26 / #103928, cc @chenyukang Rustdoc is special because it's more forgiving with errors than rustc. I'm curious to understand where we're suppressing an error in rustdoc due to |
Bug still exists but the errors changed:
|
Triage: No longer ICEs (ice→errors). Might need a regression test, no sure. |
Lol, we already have a test for this: https://github.com/rust-lang/rust/tree/master/tests/rustdoc-ui/invalid_infered_static_and_const.rs. |
Code
Meta
rustc --version --verbose
:Error output
rustdoc issue-75889.rs -Zunstable-options --document-private-items
Backtrace
The text was updated successfully, but these errors were encountered: