Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn on extraneous, unnecessary semicolons #266

Closed
frewsxcv opened this Issue Aug 31, 2015 · 4 comments

Comments

Projects
None yet
5 participants
@frewsxcv
Copy link
Member

frewsxcv commented Aug 31, 2015

fn main() {
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    println!("Hello, world!");
}
@Manishearth

This comment has been minimized.

Copy link
Member

Manishearth commented Aug 31, 2015

I'm not sure how to do this, ast-json on that code gives nothing checkable (the semicolons are parsed out?)

There are still ways of doing this though.

@llogiq

This comment has been minimized.

Copy link
Collaborator

llogiq commented Sep 1, 2015

We'd need to look at the actual code (via snippet) if available.

@sanmai-NL

This comment has been minimized.

Copy link
Contributor

sanmai-NL commented Feb 17, 2018

Can we close this and approach this as a rustfmt concern instead?

@oli-obk

This comment has been minimized.

Copy link
Collaborator

oli-obk commented Feb 19, 2018

Yea I agree, this should be solved by rustfmt

@oli-obk oli-obk closed this Feb 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.