Skip to content

Remove overriding impls of deprecated Error::description. #898

@hkBst

Description

@hkBst

Proposal

Remove overriding impls of deprecated Error::description.

I naively proposed removing one such here as I was under the mistaken impression that it would delegate to Display::fmt, but it actually defaults to "description() is deprecated; use Display".

Deprecation happened 46 stable versions ago (in 1.42), or almost 6 years ago.

git grep 'fn description' | wc -l currently gives 72 results, which would need to be changed.

Mentors or Reviewers

The change itself is not very hard, so I could mentor or do this myself.

Process

The main points of the Major Change Process are as follows:

  • File an issue describing the proposal.
  • A compiler team member or contributor who is knowledgeable in the area can second by writing @rustbot second.
    • Finding a "second" suffices for internal changes. If however, you are proposing a new public-facing feature, such as a -C flag, then full team check-off is required.
    • Compiler team members can initiate a check-off via @rfcbot fcp merge on either the MCP or the PR.
  • Once an MCP is seconded, the Final Comment Period begins. If no objections are raised after 10 days, the MCP is considered approved.

You can read more about Major Change Proposals on forge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-compilerAdd this label so rfcbot knows to poll the compiler teammajor-changeA proposal to make a major change to rustcto-announceAnnounce this issue on triage meeting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions