-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ice: rustdoc: expect tcx.sess.has_errors return true #104237
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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: