-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Revert ice-deprecated-note-on-reexport due to rustdoc ICE in diesel benchmark (PR 151120)
#151237
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
base: main
Are you sure you want to change the base?
Conversation
|
rustbot has assigned @GuillaumeGomez. Use |
|
@bors try @rust-timer queue |
|
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
|
⌛ Trying commit 3a8412e with merge 0a496ad… To cancel the try build, run the command Workflow: https://github.com/rust-lang/rust/actions/runs/21090854028 |
Revert `ice-deprecated-note-on-reexport` due to rustdoc ICE in diesel benchmark (PR 151120)
| // location (ie in the current crate and not in the reexported item's location/crate) and | ||
| // therefore doesn't crash. | ||
| // | ||
| // This is a regression test for <https://github.com/rust-lang/rust/issues/151028>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please mark this as //@ ignore-test rather than removing it altogether.
(in general I think this revert is too large, the only thing you need to revert is lines 1126-1137.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My intention was to just revert the whole PR as soon as possible to “un-break” main, and then let the rustdoc folks reapply a fixed PR when convenient for them.
|
From looking at perf results on other PRs, it appears that while the diesel doc job still fails, it seems to be automatically ignored without much fuss. Given that, I’m no longer in a hurry to revert the offending PR, since it isn’t having a major impact on other contributors. I’ll let the rustdoc folks decide whether they want to merge this revert, or merge a smaller revert, or try a fix-forward. |
|
cc @rust-lang/rustdoc for the above |
|
Would be better to fix the new ICE instead of putting back the old one. Gonna try to fix that in the next few hours. |
|
💥 Test timed out after |
|
I got a minimum code reproducing the issue: #[doc(inline)]
pub use bar::sql_function_proc as sql_function;
pub mod bar {
#[deprecated(since = "2.2.0", note = "Use [`define_sql_function`] instead")]
pub fn sql_function_proc() {}
} |
The changes in #151120 appear to have caused the
diesel-2.2.10benchmark to start triggering an ICE in rustdoc, as seen here:This reverts commit 176bf87, reversing changes made to 3157d50.