clippy 0.0.78

A bunch of helpful lints to avoid common pitfalls in Rust
#![feature(plugin)]
#![plugin(clippy)]
#![deny(items_after_statements)]

fn ok() {
    fn foo() { println!("foo"); }
    foo();
}

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

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