Skip to content

Conversation

@Zalathar
Copy link
Member

The changes in #151120 appear to have caused the diesel-2.2.10 benchmark to start triggering an ICE in rustdoc, as seen here:


This reverts commit 176bf87, reversing changes made to 3157d50.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. labels Jan 17, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 17, 2026

r? @GuillaumeGomez

rustbot has assigned @GuillaumeGomez.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@Zalathar
Copy link
Member Author

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 17, 2026

⌛ Trying commit 3a8412e with merge 0a496ad

To cancel the try build, run the command @bors try cancel.

Workflow: https://github.com/rust-lang/rust/actions/runs/21090854028

rust-bors bot pushed a commit that referenced this pull request Jan 17, 2026
Revert `ice-deprecated-note-on-reexport` due to rustdoc ICE in diesel benchmark (PR 151120)
@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Jan 17, 2026
// 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>.
Copy link
Member

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.)

Copy link
Member Author

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.

@Zalathar
Copy link
Member Author

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.

@lqd
Copy link
Member

lqd commented Jan 17, 2026

cc @rust-lang/rustdoc for the above

@GuillaumeGomez
Copy link
Member

GuillaumeGomez commented Jan 17, 2026

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.

@rust-bors rust-bors bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 17, 2026
@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 17, 2026

💥 Test timed out after 21600s

@GuillaumeGomez
Copy link
Member

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() {}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. S-waiting-on-perf Status: Waiting on a perf run to be completed. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants