Skip to content

fix(diag): Report all errors, in order#17095

Merged
weihanglo merged 3 commits into
rust-lang:masterfrom
epage:recovery
Jun 12, 2026
Merged

fix(diag): Report all errors, in order#17095
weihanglo merged 3 commits into
rust-lang:masterfrom
epage:recovery

Conversation

@epage

@epage epage commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

What does this PR try to resolve?

This makes the two existing passes more consistent.
The downside is that if there is an error, that might not be the final message.
This is already the case with --keep-going (see #t-cargo > `--keep-going` and compilation errors @ 💬).

We may want to iterate on this further and stop after the current manifest/package unless --keep-going is provided.

How to test and review this PR?

@rustbot rustbot added A-build-execution Area: anything dealing with executing the compiler S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 12, 2026
@rustbot

rustbot commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

r? @weihanglo

rustbot has assigned @weihanglo.
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

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ehuss, @epage, @weihanglo
  • @ehuss, @epage, @weihanglo expanded to ehuss, epage, weihanglo
  • Random selection from ehuss, weihanglo

epage added 2 commits June 11, 2026 21:21
This makes the two existing passes more consistent.
The downside is that if there is an error, that might not be the final
message.
This is the case with `--keep-going` (see https://rust-lang.zulipchat.com/#narrow/channel/246057-t-cargo/topic/.60--keep-going.60.20and.20compilation.20errors/near/595741468).

We may want to iterate on this further and make stop after the current
manifest/package unless `--keep-going` is provided.

@weihanglo weihanglo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Fine with this. Thanks!

View changes since this review

@weihanglo
weihanglo added this pull request to the merge queue Jun 12, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 12, 2026
@weihanglo
weihanglo added this pull request to the merge queue Jun 12, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 12, 2026
@weihanglo

Copy link
Copy Markdown
Member

GitHub Actions is not working properly (I believe). See #t-cargo > [16] Error in the HTTP2 framing layer

Requeuing.

@weihanglo
weihanglo added this pull request to the merge queue Jun 12, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 12, 2026
@weihanglo
weihanglo added this pull request to the merge queue Jun 12, 2026
Merged via the queue into rust-lang:master with commit a94c6c9 Jun 12, 2026
56 of 58 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 12, 2026
@epage
epage deleted the recovery branch June 13, 2026 22:47
rust-bors Bot pushed a commit to rust-lang/rust that referenced this pull request Jun 17, 2026
Update cargo submodule

7 commits in fe63976b245b8a649c3f2949bf89fdc307bfbae4..598ab48ec328e3e4f5e4e373d8df7264bc8e27cd
2026-06-11 09:17:57 +0000 to 2026-06-17 02:39:50 +0000
- Improved the test error messages when 'rustc -V' fails (rust-lang/cargo#17108)
- test(install): `cargo install` --path honors MSRV (rust-lang/cargo#17102)
- feat(trim-paths): emit `CARGO_TRIM_PATHS_REMAP` for build.rs (rust-lang/cargo#17104)
- Add funding links (rust-lang/cargo#17103)
- fix(diag): Give diagnostics the same display path behavior as rustc (rust-lang/cargo#17101)
- refactor: remove cargo-util-terminal from bump-check exclusions (rust-lang/cargo#17098)
- fix(diag): Report all errors, in order (rust-lang/cargo#17095)
@rustbot rustbot added this to the 1.98.0 milestone Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-build-execution Area: anything dealing with executing the compiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants