Skip to content

negate_unsigned feature gate warning should be changed to feature gate. #27141

@nagisa

Description

@nagisa

negate_unsigned feature gate (librustc_lint/builtin.rs) currently emits a warning instead of actual feature_gate due to backwards compatibility concerns. After some time passes this warning should be converted to feature gate.

Basically, reverting the “Convert negate_unsigned feature gate to a warning” commit (0ca8e49) from #27026 and fixing up conflicts (if any) should do.

Note to any people who are planning to do this: ask somebody from language team whether enough time has passed since we started to emit the warning before submitting a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions