rust/tests/ui/char_lit_as_u8.rs
2017-02-08 14:58:07 +01:00

9 lines
130 B
Rust

#![feature(plugin)]
#![plugin(clippy)]
#![deny(char_lit_as_u8)]
#![allow(unused_variables)]
fn main() {
let c = 'a' as u8;
}