Skip to content
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

tell people what to do when removing an error code #115278

Merged
merged 2 commits into from
Aug 28, 2023

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Aug 27, 2023

Currently tidy and CI send developers on a wild goose chase:

  • you edit the code
  • CI/tidy tells you that an error code is gone, so you remove it from the list
  • CI/tidy tells you that the markdown file is stale, so you remove that as well
  • CI (but not tidy) tells you not to remove an error description and copy what E0001 does

Let's be nice to people and directly tell them what to do rather than making them follow misleading breadcrumbs.

r? @GuillaumeGomez

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 27, 2023
@rustbot
Copy link
Collaborator

rustbot commented Aug 27, 2023

Some changes occurred in diagnostic error codes

cc @GuillaumeGomez

@RalfJung RalfJung force-pushed the removed-error-codes branch from cb977e4 to 776466d Compare August 27, 2023 18:28
@GuillaumeGomez
Copy link
Member

This is a very good idea!

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Aug 27, 2023

📌 Commit 776466d has been approved by GuillaumeGomez

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 27, 2023
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Aug 27, 2023
…illaumeGomez

tell people what to do when removing an error code

Currently tidy and CI send developers on a wild goose chase:
- you edit the code
- CI/tidy tells you that an error code is gone, so you remove it from the list
- CI/tidy tells you that the markdown file is stale, so you remove that as well
- CI (but not tidy) tells you not to remove an error description and copy what E0001 does

Let's be nice to people and directly tell them what to do rather than making them follow misleading breadcrumbs.

r? `@GuillaumeGomez`
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 28, 2023
…iaskrgr

Rollup of 6 pull requests

Successful merges:

 - rust-lang#109660 (Document that SystemTime does not count leap seconds)
 - rust-lang#114238 (Fix implementation of `Duration::checked_div`)
 - rust-lang#114512 (std/tests: disable ancillary tests on freebsd since the feature itsel…)
 - rust-lang#114919 (style-guide: Add guidance for defining formatting for specific macros)
 - rust-lang#115278 (tell people what to do when removing an error code)
 - rust-lang#115280 (avoid triple-backtrace due to panic-during-cleanup)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 9fb586c into rust-lang:master Aug 28, 2023
@rustbot rustbot added this to the 1.74.0 milestone Aug 28, 2023
@RalfJung RalfJung deleted the removed-error-codes branch August 29, 2023 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants