Skip to content

Applicability-ify suggestions #50723

Closed

Description

@zackmdavis

#50204 introduced an Applicability enum that is used to indicate whether a suggestion is suitable for non-interactive application by tools (notably rustfix), replacing a boolean that was intended for this purpose (#47540, #39254). It looks like we want to do this everywhere, but there didn't seem to be an existing issue to track this.

Activity

  1. added a commit that references this issue on May 28, 2018
  2. added 3 commits that reference this issue on Aug 2, 2018
  3. 6 remaining items

  4. estebank commented on Aug 17, 2018

    @estebank
    Contributor

    @ekse I believe it is possible, but it is a bad idea because we prefer to keep the diffs as small as possible. Unless you're actively touching the code, style only changes are slightly frowned upon. My personal rule of thumb is that if it's only affecting a few lines it's fine, if it's affecting the entire file it's not. Anything in between is a grey area that will depend on the reviewer. Keep in mind that the more extensive the diffs are, the more likely it is they will have/cause merge conflicts with other PRs.

  5. added a commit that references this issue on Aug 22, 2018
  6. added a commit that references this issue on Aug 28, 2018
  7. added a commit that references this issue on Aug 28, 2018
  8. added 3 commits that reference this issue on Aug 29, 2018
  9. Manishearth commented on Sep 13, 2018

    @Manishearth
    Member

    Btw, I'm willing to mentor folks in doing this!

  10. added a commit that references this issue on Sep 21, 2018
  11. added a commit that references this issue on Sep 22, 2018
  12. added
    T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.
    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
    E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
    on Oct 2, 2018
  13. added a commit that references this issue on Jan 19, 2019
    e78bde4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCE-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions