Skip to content

Add discussion of a "opt-out" lint for "opt-in" traits #21

Closed
@nikomatsakis

Description

@nikomatsakis

Per the concerns mentioned on PR #19 by @bill-myers and @cmr, one option to help library authors remember to implement Send and Share would be a lint that warns you about builtin traits that you could have implemented but did not. I envision this being part of a series of lints that enforce best practices for libraries (and I could even see having them warn by default in library mode, but perhaps not app mode). I intend to add discussion of this to the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-langRelevant to the language team, which will review and decide on the RFC.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions