Uh oh!
There was an error while loading. Please reload this page.
Add nonstandard_style alias for bad_style. - #48386
Conversation
rust-highfive
commented
Feb 20, 2018
(rust_highfive has picked a reviewer for you, use r? to override) |
withoutboats
commented
Feb 20, 2018
r? @Manishearth |
Manishearth
commented
Feb 20, 2018
This isn't enough, right now the bad_style lint group will still be shown in the What needs to be done is to rename the lint group and add a silent alias for backwards compatibility. (also the interaction of overlapping lint groups is kinda iffy) r=me for landing this as is though. |
withoutboats
commented
Feb 20, 2018
Changed the comment to not close the tracking issue, this can be a good first step. |
Manishearth
commented
Feb 20, 2018
@bors r+ A simple slightly-hacky way to do this would be to simply treat it as a different name when parsing lint group names. |
bors
commented
Feb 20, 2018
📌 Commit 6fe5f42 has been approved by |
| mod bad { | ||
| fn CamelCase() {} //~ ERROR should have a snake | ||
| static bad: isize = 1; //~ ERROR should have an upper |
kennytm
commented
Feb 21, 2018
@bors r=Manishearth |
bors
commented
Feb 21, 2018
📌 Commit 5949d8b has been approved by |
mark-i-m
commented
Feb 22, 2018
Lol, why? I'm not sure I understand the motivation for this... |
steveklabnik
commented
Feb 22, 2018
mark-i-m
commented
Feb 22, 2018
Oh, it seems I missed quite an epic thread. It's good to know decisions like that are not made lightly, even though I don't fully agree with the change :) |
…anishearth Add nonstandard_style alias for bad_style.
No description provided.