You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#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.
@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.
Activity
Auto merge of #50724 - zackmdavis:applicability_rush, r=Manishearth
add rust-lang/rust#50723 as an easy-level call for participation
6 remaining items
estebank commentedon Aug 17, 2018
@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.
Rollup merge of rust-lang#53504 - ekse:suggestions-applicability-2, r…
Rollup merge of rust-lang#53655 - jcpst:with_applicability, r=estebank
Rollup merge of rust-lang#53655 - jcpst:with_applicability, r=estebank
Rollup merge of rust-lang#53655 - jcpst:with_applicability, r=estebank
Rollup merge of rust-lang#53655 - jcpst:with_applicability, r=estebank
Rollup merge of rust-lang#53655 - jcpst:with_applicability, r=estebank
Manishearth commentedon Sep 13, 2018
Btw, I'm willing to mentor folks in doing this!
Rollup merge of rust-lang#54412 - jcpst:replace_span_suggestion, r=es…
Rollup merge of rust-lang#54412 - jcpst:replace_span_suggestion, r=es…
Rollup merge of rust-lang#57699 - euclio:applicability-ify, r=petroch…