-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Infinite loop in get_all_import_attributes
#107350
Comments
GuillaumeGomez
added
the
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
label
Jan 27, 2023
It was fixed in 1.68 apparently since I get this with beta and nightly:
I'll add a regression test just in case. |
Ah nevermind, with this code (added a pub mod oops {
pub use crate::oops::OhNo;
mod inner {
pub enum OhNo {
Item = 1,
}
}
pub use self::inner::*;
} I think I know what's wrong. Fix should arrive shortly. |
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Jan 27, 2023
Fix is in #107357. |
Mark-Simulacrum
pushed a commit
to Mark-Simulacrum/rust
that referenced
this issue
Feb 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried this code:
I expected to see this happen:
rustdoc
successfully documents our codeInstead, this happened:
rustdoc
infinitely loops insideget_all_import_attributes
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: