rust-clippy/tests/ui/char_lit_as_u8.rs
2019-01-08 21:46:39 +01:00

5 lines
98 B
Rust

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