Skip to content

Conversation

mcarton
Copy link
Contributor

@mcarton mcarton commented Feb 27, 2016

Fix #649. Fix #718.

}

fn constant_not(o: Constant) -> Option<Constant> {
use syntax::ast::LitIntType::*;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good cleanup. 👍

llogiq added a commit that referenced this pull request Feb 27, 2016
Formatting lints for `=@` and `else if`s
@llogiq llogiq merged commit 98eb623 into rust-lang:master Feb 27, 2016
@mcarton mcarton deleted the formatting branch February 27, 2016 19:06
@llogiq
Copy link
Contributor

llogiq commented Feb 27, 2016

That was fast. 😄 @mcarton I'd like to have you writing some more challenging lints and leave the easy ones to new contributors. OK?

@mcarton
Copy link
Contributor Author

mcarton commented Feb 27, 2016

There are plenty of easy lints left, I won’t implement them all, promised 😜.

@llogiq
Copy link
Contributor

llogiq commented Feb 27, 2016

😄 OK then.

@Manishearth
Copy link
Member

Yeah, I was considering doing a sweep of a bunch of easy bugs too. It's good to have them, but 100+ open issues isn't too great :)

github-merge-queue bot pushed a commit that referenced this pull request Aug 4, 2025
This has always been one lint (added in #720), but
the two cases are also quite distinct.

changelog: Split `possible_missing_else` from
`suspicious_else_formatting`

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_SUMMARY_START -->

### Summary Notes

-
[Feature-freeze](#15317 (comment))
by [github-actions[bot]](https://github.com/github-actions[bot])

*Managed by `@rustbot`—see
[help](https://forge.rust-lang.org/triagebot/note.html) for details*

<!-- TRIAGEBOT_SUMMARY_END -->
<!-- TRIAGEBOT_END -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants