Skip to content

Conversation

lnicola
Copy link
Member

@lnicola lnicola commented Jul 22, 2025

No description provided.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 22, 2025
@lnicola
Copy link
Member Author

lnicola commented Jul 22, 2025

r? @ShoyuVanilla

fn stop_watch(&self) -> StopWatch {
StopWatch::start()
}
}

fn full_name(db: &RootDatabase, body_id: DefWithBody, module: hir::Module) -> String {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was extracted from the other two places without any changes.

@@ -1205,11 +1178,42 @@ impl flags::AnalysisStats {
eprintln!("{:<20} {} ({} files)", "IDE:", ide_time, file_ids.len());
}

fn should_process(&self, db: &RootDatabase, body_id: DefWithBody, module: hir::Module) -> bool {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was extracted from the other two places and changed to call full_name.

@flodiebold flodiebold added this pull request to the merge queue Jul 22, 2025
Merged via the queue into rust-lang:master with commit 6e4e088 Jul 22, 2025
15 checks passed
@lnicola lnicola deleted the analysis-stats-mir-lowering-only branch July 22, 2025 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants