clippy 0.0.76

A bunch of helpful lints to avoid common pitfalls in Rust
1
2
3
4
5
6
7
8
9
#![feature(plugin)]
#![plugin(clippy)]
#![deny(items_after_statements)]

fn main() {
    foo();
    fn foo() { println!("foo"); } //~ ERROR adding items after statements is confusing
    foo();
}