Skip to content

Commit f8bc65a

Browse files
committed
Restore a deleted comment that was quite informative
Was deleted when this code was moved in PR 18043.
1 parent fa181ab commit f8bc65a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/rust-analyzer/src/main_loop.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,6 +1180,8 @@ impl GlobalState {
11801180
} => self.diagnostics.clear_check_older_than_for_package(id, package_id, generation),
11811181
FlycheckMessage::Progress { id, progress } => {
11821182
let format_with_id = |user_facing_command: String| {
1183+
// When we're running multiple flychecks, we have to include a disambiguator in
1184+
// the title, or the editor complains. Note that this is a user-facing string.
11831185
if self.flycheck.len() == 1 {
11841186
user_facing_command
11851187
} else {

0 commit comments

Comments
 (0)