clippy 0.0.77

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

#![deny(char_lit_as_u8)]
#![allow(unused_variables)]
fn main() {
    let c = 'a' as u8; //~ERROR casting character literal
}