Skip to content

Revert #[warn(unstable)] by default #21084

@SimonSapin

Description

@SimonSapin

One of the changes introduced by f3b67af is:

  • On the nightly channel, use of unstable APIs generates a warning.

I think this should be reverted for now. Here is why:

A warning is only useful when it is actionable. “You should not do this” is ideally accompanied by “do that instead”. Maintainers fix their code and the warning goes away. But this is not the case of most unstable warnings, there is not yet a stable equivalent of the functionality. Therefore, in order to find the few actionable warnings or just not be drowned in the sheer amount of output, maintainers are lead to add #![allow(unstable)] to their crates. This is not great, because they (or at least I) are likely to forget to remove it when unstable warnings become useful.

CC @alexcrichton

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions